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

Function parse_text

include/fmt/compile.h:263–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261
262template <typename Char>
263constexpr auto parse_text(basic_string_view<Char> str, size_t pos) -> size_t {
264 for (size_t size = str.size(); pos != size; ++pos) {
265 if (str[pos] == '{' || str[pos] == '}') break;
266 }
267 return pos;
268}
269
270template <typename Args, size_t POS, int ID, bool DYNAMIC_NAMES, typename S>
271constexpr auto compile_format_string(S fmt);

Callers 1

compile_format_stringFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected