|
TEC
A lightweight C++ library enabling safe, efficient execution in multithreaded and concurrent systems.
|
Trait to detect whether a type behaves like a standard container. More...
#include <tec_container.hpp>
Trait to detect whether a type behaves like a standard container.
This trait is true for types that provide the following member functions:
It works with most STL containers (std::vector, std::list, std::deque, std::set, std::unordered_* containers, etc.) and any user-defined type that follows the same interface.
| T | Type to check |
| <unnamed> | SFINAE parameter used for specialization |