MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / StrMakeValid

Function StrMakeValid

src/string_func.h:27–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26[[nodiscard]] std::string StrMakeValid(std::string_view str, StringValidationSettings settings = StringValidationSetting::ReplaceWithQuestionMark);
27[[nodiscard]] inline std::string StrMakeValid(std::string &&str, StringValidationSettings settings = StringValidationSetting::ReplaceWithQuestionMark)
28{
29 StrMakeValidInPlace(str, settings);
30 return std::move(str);
31}
32
33bool strtolower(std::string &str, std::string::size_type offs = 0);
34

Callers

nothing calls this directly

Calls 1

StrMakeValidInPlaceFunction · 0.85

Tested by

no test coverage detected