|
SpECTRE
v2025.08.19
|
Check if type T is like a std::map or std::unordored_map.
More...
#include <IsMaplike.hpp>
Check if type T is like a std::map or std::unordored_map.
Inherits from std::true_type if the type T has a type alias key_type, type alias mapped_type, and operator[](const typename T::key_type&) defined, otherwise inherits from std::false_type
For any type T,
Returns: std::bool_constant
Semantics: If the type T has a type alias key_type, type alias mapped_type, and operator[](const typename T::key_type&) defined, then
otherwise
| T | the type to check |