MCPcopy Create free account
hub / github.com/SFML/SFML / select

Function select

test/System/String.test.cpp:27–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25// one OS or the other.
26template <typename T>
27auto select(const std::basic_string<T>& string16, const std::basic_string<T>& string32)
28{
29 assert(string16 != string32 && "Invalid to select between identical inputs");
30 if constexpr (sizeof(wchar_t) == 2)
31 return string16;
32 else
33 return string32;
34}
35
36auto toHex(const char32_t character)
37{

Callers 1

String.test.cppFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected