MCPcopy Create free account
hub / github.com/fmtlib/fmt / parse_string

Function parse_string

test/base-test.cc:548–552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546};
547
548template <size_t N> constexpr auto parse_string(const char (&s)[N]) -> bool {
549 auto h = test_format_string_handler();
550 fmt::detail::parse_format_string(fmt::string_view(s, N - 1), h);
551 return !h.error;
552}
553
554TEST(base_test, constexpr_parse_format_string) {
555 static_assert(parse_string("foo"), "");

Callers 1

TESTFunction · 0.85

Calls 2

parse_format_stringFunction · 0.85

Tested by

no test coverage detected