tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
iswupper.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_CWCTYPE_ISWUPPER_HPP
4#define TETL_CWCTYPE_ISWUPPER_HPP
5
7
8namespace etl {
9
20[[nodiscard]] constexpr auto iswupper(wint_t ch) noexcept -> int { return static_cast<int>(ch >= L'A' && ch <= L'Z'); }
21
22} // namespace etl
23
24#endif // TETL_CWCTYPE_ISWUPPER_HPP
constexpr auto iswupper(wint_t ch) noexcept -> int
Checks if the given wide character is an uppercase letter, i.e. one of ABCDEFGHIJKLMNOPQRSTUVWXYZ or ...
Definition iswupper.hpp:20
Definition adjacent_find.hpp:8
unsigned int wint_t
Definition wint_t.hpp:29