ascii: add is_alpha query

This commit is contained in:
Danny Robson 2018-10-31 09:29:28 +11:00
parent dca92e2199
commit 44eeeaa134

View File

@ -52,6 +52,15 @@ namespace cruft::ascii {
}
//-------------------------------------------------------------------------
constexpr inline
bool
is_alpha (char c) noexcept
{
return is_lower (c) || is_upper (c);
}
//-------------------------------------------------------------------------
constexpr inline
bool