I am refactoring a serialization library in my project so that it compiles with
-std=c++11
and want to identify if an object is a STL container, e.g.
is_stl_deque<T>::value
is_stl_list<T>::value
is_stl_vector<T>::value
is_set<T>::value
is_map<T>::value
is_pair<T>::value
is_sequence<T>::value
Is there any boost trait to check if an object is a STL container ?
If not (I couldn't find any), how can I implement one ?