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

Method isPrecededBy

Libraries/Strings/StringIterator.h:392–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390
391template <typename CharIterator>
392constexpr bool StringIterator<CharIterator>::isPrecededBy(CodePoint c)
393{
394 return it > start ? CharIterator::decode(getPreviousOf(it, start), it) == c : false;
395}
396
397template <typename CharIterator>
398constexpr StringIterator<CharIterator> StringIterator<CharIterator>::sliceFromStartUntil(

Callers

nothing calls this directly

Calls 2

decodeFunction · 0.85
getPreviousOfFunction · 0.85

Tested by

no test coverage detected