mrdocs::isAlphaNumeric

isAlphaNumeric overloads

Synopses

Determine if a character is ASCII alphanumeric.

constexpr
bool
isAlphaNumeric(char const c) noexcept;

Determine if every character in a string is ASCII alphanumeric.

constexpr
bool
isAlphaNumeric(std::string_view const s) noexcept;

Return Value

  • true if c is an ASCII letter or digit.

  • true if all characters are ASCII letters or digits.

Parameters

Name

Description

c

Character to inspect.

s

String to inspect.

Created with MrDocs