MCPcopy Create free account
hub / github.com/boostorg/json / testNullptr

Method testNullptr

test/value_to.cpp:435–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

valueClass · 0.70

Tested by

no test coverage detected