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
6
#include <
etl/_cwchar/wint_t.hpp
>
7
8
namespace
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
etl::iswblank
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
etl
Definition
adjacent_find.hpp:8
etl::wint_t
unsigned int wint_t
Definition
wint_t.hpp:29
wint_t.hpp
include
etl
_cwctype
iswblank.hpp
Generated on Sat Mar 8 2025 16:19:59 for tetl by
1.14.0