"Thorsten Ottosen" <[EMAIL PROTECTED]> writes: > my code does not include <vector>, <list> or <map>, but it does need > <iterator>. > > Some of the functionality of the container_traits are shown here: > > > template< typename C > > bool is_container() > { > return boost::container_traits<C>::is_container(); > }
... Yes, you can take an approach like this one, but it will cause false positives in some circumstances. If that's acceptable for your application, then it's a good answer. -- Dave Abrahams Boost Consulting www.boost-consulting.com _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost