49template<
typename T,
typename =
void>
58 decltype(std::declval<T>().begin()),
59 decltype(std::declval<T>().end()),
60 decltype(std::declval<T>().size())
97template<
typename T,
typename =
void>
106 decltype(std::declval<T>().begin()),
107 decltype(std::declval<T>().end()),
108 decltype(std::declval<T>().size()),
109 decltype(std::declval<T>().bucket_count())
Trait to detect whether a type behaves like a standard container.
Definition tec_container.hpp:50
Trait to detect associative containers that behave like std::unordered_map / std::unordered_set.
Definition tec_container.hpp:98
constexpr bool is_map_v
Convenience variable template for checking unordered-map-like types.
Definition tec_container.hpp:126
constexpr bool is_container_v
Convenience variable template for checking container-ness.
Definition tec_container.hpp:76
Common definitions and utilities for the tec namespace.