BloombergLP::bdlde::Utf8Util::advanceRaw

advanceRaw overloads

Synopses

Declared in <bdlde_utf8util.h>

Advance past Unicode code points in a string_view.

static
Utf8Util::IntPtr
advanceRaw(
    char const** result,
    std::string_view const& string,
    IntPtr numCodePoints);
» more...

Advance past Unicode code points in a null-terminated string.

static
IntPtr
advanceRaw(
    char const** result,
    char const* string,
    IntPtr numCodePoints);
» more...

Advance past Unicode code points in a bounded string.

static
IntPtr
advanceRaw(
    char const** result,
    char const* string,
    size_type length,
    IntPtr numCodePoints);
» more...

Return Value

number of Unicode code points traversed

Parameters

NameDescription
resultreceives address after the last code point traversed
stringUTF-8 string view to advance through
numCodePointsmaximum number of code points to advance
lengthlength of string in bytes