Create a range from a char16_t string literal.

Synopsis

Declared in <folly/Range.h>

constexpr
Range<char16_t const*>
operator""_sp(
    char16_t const* str,
    size_t len) noexcept;

Return Value

A range referencing the literal.

Parameters

Name

Description

str

Pointer to the literal's characters.

len

The number of characters in the literal.

Created with MrDocs