martinus / unordered_dense

A fast & densely stored hashmap and hashset based on robin-hood backward shift deletion
MIT License
898 stars 72 forks source link

Make mapped_type only available for map, not for set #49

Closed martinus closed 1 year ago

martinus commented 1 year ago

This should help e.g. serializers who want to distinguish between map and set by checking for mapped_type. Also, it's more correct.