#include #include #include #include #include using namespace boost; using namespace boost::mpl; using namespace boost::histogram::detail; int main() { { typedef vector_c numbers; typedef vector_c expected; using result = unique_sorted; BOOST_MPL_ASSERT((equal>)); } struct no_variance_method { using value_type = int; }; struct variance_method { using value_type = int; value_type variance(std::size_t) const; }; BOOST_TEST_EQ(typename has_variance_support::type(), false); BOOST_TEST_EQ(typename has_variance_support::type(), true); return boost::report_errors(); }