BloombergLP::bdlde::Utf8Util::numCodePointsRaw

Return the number of Unicode code points in the specified string. string need not be null-terminated and can contain embedded null bytes. The behavior is undefined unless string contains valid UTF-8.

Synopsis

Declared in <bdlde_utf8util.h>

static
Utf8Util::IntPtr
numCodePointsRaw(std::string_view const& string);