...
This commit is contained in:
@@ -11,7 +11,7 @@ namespace snplib
|
||||
|
||||
constexpr static bool snplib_is_space(char in) noexcept
|
||||
{
|
||||
static constexpr auto ws = {' ', '\t', '\n', '\v', '\r', '\f'};
|
||||
static constexpr std::array ws = {' ', '\t', '\n', '\v', '\r', '\f'};
|
||||
return std::ranges::any_of(ws, [in](auto p) { return p == in; });
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user