MCPcopy Create free account
hub / github.com/KhronosGroup/KTX-Software / parse_string

Function parse_string

external/fmt/test/base-test.cc:545–549  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

TESTFunction · 0.85

Calls 2

parse_format_stringFunction · 0.85

Tested by

no test coverage detected