tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
iswdigit.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_CWCTYPE_ISWDIGIT_HPP
4#define TETL_CWCTYPE_ISWDIGIT_HPP
5
7
8namespace etl {
18[[nodiscard]] constexpr auto iswdigit(wint_t ch) noexcept -> int { return static_cast<int>(ch >= L'0' && ch <= L'9'); }
19} // namespace etl
20
21#endif // TETL_CWCTYPE_ISWDIGIT_HPP
constexpr auto iswdigit(wint_t ch) noexcept -> int
Checks if the given wide character corresponds (if narrowed) to one of the ten decimal digit characte...
Definition iswdigit.hpp:18
Definition adjacent_find.hpp:8
unsigned int wint_t
Definition wint_t.hpp:29