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

Method bad_impl

test/parse.cpp:56–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54
55 template <class ErrorCode>
56 void
57 bad_impl(string_view s)
58 {
59 ErrorCode ec;
60 auto jv = parse(s, ec);
61 BOOST_TEST(ec);
62 BOOST_TEST(hasLocation(ec));
63
64 ec = {};
65 std::stringstream ss(s);
66 auto jv2 = parse(ss, ec);
67 BOOST_TEST(ec);
68 BOOST_TEST(hasLocation(ec));
69 }
70
71 void
72 good(string_view s)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected