Я хотел бы написать шаблон, который будет определять, является ли тип контейнером stl во время компиляции.
У меня есть следующий бит кода:
struct is_cont{};
struct not_cont{};
template <typename T>
struct is_cont { typedef not_cont result_t; };
но я не уверен, как создать необходимые специализации для std::vector<T,Alloc>, deque<T,Alloc>, set<T,Alloc,Comp>
и т.д.