Namespaces
Variants
Actions

std::isalnum(std::locale)

From cppreference.com
< cpp‎ | locale
 
 
 
 
Defined in header <locale>
template< class CharT >
bool isalnum( CharT ch, const locale& loc );

Checks if the given character is classified as an alphanumeric character by the given locale's std::ctype facet.

Contents

[edit] Parameters

ch - character
loc - locale

[edit] Return value

Returns true if the character is classified as alphanumeric, false otherwise.

[edit] Possible implementation

template<class CharT>
bool isalnum(CharT ch, const