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

Method advanceCodePoints

Libraries/Strings/StringIterator.h:371–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369
370template <typename CharIterator>
371constexpr bool StringIterator<CharIterator>::advanceCodePoints(size_t numCodePoints)
372{
373 while (numCodePoints > 0)
374 {
375 numCodePoints -= 1;
376 if (it >= end)
377 {
378 return false;
379 }
380 it = getNextOf(it, end);
381 }
382 return true;
383}
384
385template <typename CharIterator>
386constexpr bool StringIterator<CharIterator>::isFollowedBy(CodePoint c)

Callers

nothing calls this directly

Calls 1

getNextOfFunction · 0.85

Tested by

no test coverage detected