tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
isblank.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2
3#ifndef TETL_CCTYPE_ISBLANK_HPP
4#define TETL_CCTYPE_ISBLANK_HPP
5
6namespace etl {
20[[nodiscard]] constexpr auto isblank(int ch) noexcept -> int { return static_cast<int>(ch == ' ' || ch == '\t'); }
21} // namespace etl
22
23#endif // TETL_CCTYPE_ISBLANK_HPP
constexpr auto isblank(int ch) noexcept -> int
Checks if the given character is a blank character as classified by the currently installed C locale....
Definition isblank.hpp:20
Definition adjacent_find.hpp:8