I didn't know this was possible:
template class C1,
template class C2>
struct is_same_template {
static const bool value = false;
};
template class C1>
struct is_same_template {
static const bool value = true;
};
With that you can then do
BOOST_STATIC_ASSERT(( is_same_template::value ));
BOOST_STATIC_ASSERT(( !is_same_template::value
(
Read more... )