MCPcopy Create free account
hub / github.com/comaps/comaps / LastUniChar

Function LastUniChar

libs/base/string_utils.cpp:89–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89UniChar LastUniChar(std::string const & s)
90{
91 if (s.empty())
92 return 0;
93 utf8::unchecked::iterator iter(s.end());
94 --iter;
95 return *iter;
96}
97
98bool to_size_t(char const * start, size_t & i, int base)
99{

Callers 2

GetScoreFunction · 0.85
UNIT_TESTFunction · 0.85

Calls 2

emptyMethod · 0.45
endMethod · 0.45

Tested by 2

GetScoreFunction · 0.68
UNIT_TESTFunction · 0.68