martinus / robin-hood-hashing

Fast & memory efficient hashtable based on robin hood hashing for C++11/14/17/20
https://gitter.im/martinus/robin-hood-hashing
MIT License
1.5k stars 142 forks source link

Support initializer list insert #119

Closed martinus closed 3 years ago

martinus commented 3 years ago

void insert( std::initializer_list<value_type> ilist ); is in the standard for std::unordered_map, but not yet in robin_hood: https://en.cppreference.com/w/cpp/container/unordered_map/insert

Found by @xuanqing94

martinus commented 3 years ago

fixed