| 433 | |
| 434 | template< class... Context > |
| 435 | static |
| 436 | void testNullptr( Context const& ... ctx ) |
| 437 | { |
| 438 | (void)value_to<std::nullptr_t>( value(), ctx... ); |
| 439 | (void)value_to<::value_to_test_ns::T1>( value(), ctx... ); |
| 440 | BOOST_TEST_THROWS_WITH_LOCATION( |
| 441 | value_to<std::nullptr_t>( value(1), ctx... )); |
| 442 | BOOST_TEST_THROWS_WITH_LOCATION( |
| 443 | value_to<::value_to_test_ns::T1>( value(1), ctx... )); |
| 444 | } |
| 445 | |
| 446 | template< class... Context > |
| 447 | static |