This commit is contained in:
2026-06-30 14:40:27 +03:00
parent 573e58edb6
commit 4bbf16cffb

View File

@@ -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; });
};