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