issues
search
benedictkao
/
UTD
Unstandard Library for basic data structures
2
stars
0
forks
source link
Split unordered_set into .h and .tpp files
#40
Closed
benedictkao
closed
1 year ago
benedictkao
commented
1 year ago
Better practice to split declaration and implementation
Use .tpp file extension for template implementation files
One logic change to
insert
is to only check if rehashing is needed if item is successfully inserted (if item already exists, does nothing)
insert
is to only check if rehashing is needed if item is successfully inserted (if item already exists, does nothing)