Hello all, For the life of me, I cannot find is_base_of<>. What header files / namespaces do I need to reference to get at this little guy? Actually, I'm starting to think it has been replaced and that I should be looking for something else... Thanks, Dave
Dave wrote:
Hello all,
For the life of me, I cannot find is_base_of<>. What header files / namespaces do I need to reference to get at this little guy? Actually, I'm starting to think it has been replaced and that I should be looking for something else...
Look for is_base_and_derived<>. You'll find it at boost/type_traits/is_base_and_derived.hpp -- Eric Niebler Boost Consulting www.boost-consulting.com
For the life of me, I cannot find is_base_of<>. What header files / namespaces do I need to reference to get at this little guy? Actually, I'm starting to think it has been replaced and that I should be looking for something else...
Nope RTM. Look at the type traits docs, specifically in doc/html/boost_typetraits/reference.html#boost_typetraits.is_base_of I would have pointed you at the web pages, but they appear to be corrupted ? John.
participants (3)
-
Dave
-
Eric Niebler
-
John Maddock