David Abrahams <[EMAIL PROTECTED]> writes: > "John Maddock" <[EMAIL PROTECTED]> writes: > >> I'm trying to remember, did someone around here come up with some code that >> can tell at compiler time whether an object has a specific member or not, I >> can do it for operators, but not a member typedef (which is what I want)... > > See boost/mpl/aux_/has_xxx.hpp. Example usage in boost/detail/iterator.hpp.
To my knowledge, these are the platforms it fails on: #if BOOST_WORKAROUND(__GNUC__, == 2 && __GNUC_MINOR__ == 95) \ || BOOST_WORKAROUND(__MWERKS__, <= 0x2407) \ || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551)) no has_xxx support #endif -- Dave Abrahams Boost Consulting www.boost-consulting.com _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost