MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / decode

Function decode

Libraries/Strings/StringIterator.h:254–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252 [[nodiscard]] static constexpr const char* getNextOf(const char* src, const char*) { return src + 1; }
253 [[nodiscard]] static constexpr const char* getPreviousOf(const char* src, const char*) { return src - 1; }
254 [[nodiscard]] static constexpr CodePoint decode(const char* src, const char*)
255 {
256 return static_cast<CodePoint>(*src);
257 }
258};
259
260/// @brief A string iterator for UTF16 strings

Callers 6

matchFunction · 0.85
advanceUntilMatchesMethod · 0.85
advanceIfMatchesMethod · 0.85
advanceReadMethod · 0.85
isFollowedByMethod · 0.85
isPrecededByMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected