MCPcopy Create free account
hub / github.com/Icinga/icinga2 / replace_invalid

Function replace_invalid

third-party/utf8cpp/source/utf8/cpp17.h:81–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79 }
80
81 inline std::string replace_invalid(std::string_view s, char32_t replacement)
82 {
83 std::string result;
84 replace_invalid(s.begin(), s.end(), std::back_inserter(result), replacement);
85 return result;
86 }
87
88 inline std::string replace_invalid(std::string_view s)
89 {

Callers 6

ValidateUTF8Method · 0.50
TESTFunction · 0.50
TESTFunction · 0.50
TESTFunction · 0.50
TESTFunction · 0.50
mainFunction · 0.50

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by 5

TESTFunction · 0.40
TESTFunction · 0.40
TESTFunction · 0.40
TESTFunction · 0.40
mainFunction · 0.40