Strings » Code units » is_code_point_boundary() module

Functions

auto is_code_point_boundary(char c) -> bool constexpr noexcept
Returns true if a character is a code point boundary.
auto is_code_point_boundary(char16_t c) -> bool constexpr noexcept
Returns true if a UTF-16 code unit is a code point boundary.
auto is_code_point_boundary(char32_t c) -> bool constexpr noexcept
Returns true if a UTF-32 code unit is a code point boundary.
auto is_code_point_boundary(char8_t c) -> bool constexpr noexcept
Returns true if a UTF-8 code unit is a code point boundary.
auto is_code_point_boundary(unsigned char c) -> bool constexpr noexcept
Returns true if a character is a code point boundary.
auto is_code_point_boundary(wchar_t c) -> bool constexpr noexcept
Returns true if a wide character is a code point boundary.

Function documentation

bool is_code_point_boundary(char c) constexpr noexcept
#include <muu/chars.h>

Returns true if a character is a code point boundary.

bool is_code_point_boundary(char16_t c) constexpr noexcept
#include <muu/chars.h>

Returns true if a UTF-16 code unit is a code point boundary.

bool is_code_point_boundary(char32_t c) constexpr noexcept
#include <muu/chars.h>

Returns true if a UTF-32 code unit is a code point boundary.

bool is_code_point_boundary(char8_t c) constexpr noexcept
#include <muu/chars.h>

Returns true if a UTF-8 code unit is a code point boundary.

bool is_code_point_boundary(unsigned char c) constexpr noexcept
#include <muu/chars.h>

Returns true if a character is a code point boundary.

bool is_code_point_boundary(wchar_t c) constexpr noexcept
#include <muu/chars.h>

Returns true if a wide character is a code point boundary.