MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / IsSpace

Function IsSpace

src/Nazara/Core/String.cpp:26–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 namespace Detail
25 {
26 inline bool IsSpace(char32_t character)
27 {
28 return character == '\t' || Unicode::GetCategory(character) & Unicode::Category_Separator;
29 }
30
31 // This algorithm is inspired by the documentation of Qt
32 inline std::size_t GetNewSize(std::size_t newSize)

Callers 6

FindLastWordMethod · 0.85
FindWordMethod · 0.85
GetWordMethod · 0.85
GetWordPositionMethod · 0.85
SimplifiedMethod · 0.85
TrimmedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected