template<typename T>
struct is_grid< T, typename Void< typename T::yes_i_am_grid >::type >
is_grid check if the type is a grid
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 a grid
Definition at line 27 of file util.hpp.