tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
isupper.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_CCTYPE_ISUPPER_HPP
4#define TETL_CCTYPE_ISUPPER_HPP
5
6namespace etl {
7
19[[nodiscard]] constexpr auto isupper(int ch) noexcept -> int { return static_cast<int>(ch >= 'A' and ch <= 'Z'); }
20
21} // namespace etl
22
23#endif // TETL_CCTYPE_ISUPPER_HPP
constexpr auto isupper(int ch) noexcept -> int
Checks if the given character is classified as a uppercase character according to the default C local...
Definition isupper.hpp:19
Definition adjacent_find.hpp:8