#include #include #include struct y {}; struct z {}; struct x : y, z { typedef boost::mpl::vector base_types; }; int main() { BOOST_TEST(!boost::contract::aux::type_traits::has_bases::value); BOOST_TEST(boost::contract::aux::type_traits::has_bases::value); BOOST_TEST((boost::is_same:: type, boost::mpl::vector >::value)); return boost::report_errors(); }