|
TEC
A lightweight C++ library enabling safe, efficient execution in multithreaded and concurrent systems.
|
Trait to detect associative containers that behave like std::unordered_map / std::unordered_set. More...
#include <tec_container.hpp>
Trait to detect associative containers that behave like std::unordered_map / std::unordered_set.
In addition to the usual container interface (begin/end/size), this trait requires the presence of bucket_count(), which is specific to unordered associative containers in the standard library.
It will be true for:
It will be false for ordered maps (std::map) and for non-unordered containers.
| T | Type to check |
| <unnamed> | SFINAE parameter used for specialization |