Strings » Code units » is_ascii_whitespace() module

Functions

auto is_ascii_whitespace(char c) -> bool constexpr noexcept
Returns true if a character is a whitespace code point from the ASCII range.
auto is_ascii_whitespace(char16_t c) -> bool constexpr noexcept
Returns true if a UTF-16 code unit is a whitespace code point from the ASCII range.
auto is_ascii_whitespace(char32_t c) -> bool constexpr noexcept
Returns true if a UTF-32 code unit is a whitespace code point from the ASCII range.
auto is_ascii_whitespace(char8_t c) -> bool constexpr noexcept
Returns true if a UTF-8 code unit is a whitespace code point from the ASCII range.
auto is_ascii_whitespace(unsigned char c) -> bool constexpr noexcept
Returns true if a character is a whitespace code point from the ASCII range.
auto is_ascii_whitespace(wchar_t c) -> bool constexpr noexcept
Returns true if a wide character is a whitespace code point from the ASCII range.

Function documentation

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

Returns true if a character is a whitespace code point from the ASCII range.

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

Returns true if a UTF-16 code unit is a whitespace code point from the ASCII range.

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

Returns true if a UTF-32 code unit is a whitespace code point from the ASCII range.

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

Returns true if a UTF-8 code unit is a whitespace code point from the ASCII range.

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

Returns true if a character is a whitespace code point from the ASCII range.

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

Returns true if a wide character is a whitespace code point from the ASCII range.