IsSpace

Tests if the given character is a whitespace character. The whitespace characters are: space, form-feed ('f'), newline (' '), carriage return ('r'), horizontal tab ('t'), and vertical tab ('v').

Synopsis

Declared in <util/strencodings.h>

constexpr
bool
IsSpace(char c) noexcept;

Description

This function is locale independent. Under the C locale this function gives the same result as std::isspace.

Return Value

true if the argument is a whitespace character; otherwise false

Parameters

NameDescription
c [in]character to test