folly::unicode_code_point_from_utf16_surrogate_pair

Combines a UTF-16 surrogate pair into a single code point.

Synopsis

Declared in <folly/Unicode.h>

char32_t
unicode_code_point_from_utf16_surrogate_pair(
    char16_t const high,
    char16_t const low);

Return Value

The decoded Unicode code point.

Parameters

NameDescription
highThe high surrogate code unit.
lowThe low surrogate code unit.