You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 line
403 B

  1. #include <cpputils/mp/misc/default.h>
  2. namespace test_mp_util_default
  3. {
  4. struct is_default_true : public ::utl::mp::__impl::default_ { };
  5. struct is_default_false { };
  6. }
  7. using namespace ::utl::mp;
  8. using namespace ::test_mp_util_default;
  9. static_assert( is_default<is_default_true>::value, "");
  10. static_assert(!is_default<is_default_false>::value, "");
  11. static_assert(!is_default<bool>::value, "");