template<typename T>
struct is_encap< T, typename Void< typename T::yes_i_am_encap >::type >
is_encap check if the type is an encap type
Example
struct stub_object
{
float a;
double b;
};
BOOST_REQUIRE_EQUAL( val ,true);
BOOST_REQUIRE_EQUAL( val , true);
BOOST_REQUIRE_EQUAL( val ,true);
BOOST_REQUIRE_EQUAL( val ,true);
BOOST_REQUIRE_EQUAL( val , true);
BOOST_REQUIRE_EQUAL( val ,true);
BOOST_REQUIRE_EQUAL( val, false);
BOOST_REQUIRE_EQUAL( val, false);
return true if T is an encap
Definition at line 919 of file Encap.hpp.