MCPcopy Create free account
hub / github.com/boostorg/pfr / test_implicit_conversions

Function test_implicit_conversions

test/core/run/ops.cpp:73–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void test_implicit_conversions() {
74 std::stringstream ss;
75 ss << boost::pfr::io(std::true_type{});
76 BOOST_TEST_EQ(ss.str(), "1"); // Does not break implicit conversion
77}
78
79
80namespace foo {

Callers 1

mainFunction · 0.70

Calls 1

ioFunction · 0.85

Tested by

no test coverage detected