BloombergLP::bdlb::CharType::isAscii

Return whether character is a 7-bit ASCII character.

Synopsis

Declared in <bdlb_chartype.h>

static
bool
isAscii(char character);

Description

Return true if the specified character is in the ASCII category (i.e., [0-177]), and false otherwise.

Return Value

true if character is a 7-bit ASCII character, and false otherwise

Parameters

NameDescription
charactercharacter to classify