tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
iswblank.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_CWCTYPE_ISWBLANK_HPP
4#define TETL_CWCTYPE_ISWBLANK_HPP
5
7
8namespace etl {
20[[nodiscard]] constexpr auto iswblank(wint_t ch) noexcept -> int { return static_cast<int>(ch == L' ' || ch == L'\t'); }
21} // namespace etl
22
23#endif // TETL_CWCTYPE_ISWBLANK_HPP
constexpr auto iswblank(wint_t ch) noexcept -> int
Checks if the given wide character is classified as blank character (that is, a whitespace character ...
Definition iswblank.hpp:20
Definition adjacent_find.hpp:8
unsigned int wint_t
Definition wint_t.hpp:29