BloombergLP::bdlb::CharType::isCntrl

Return whether character is a control character.

Synopsis

Declared in <bdlb_chartype.h>

static
bool
isCntrl(char character);

Description

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

Return Value

true if character is a control character, and false otherwise

Parameters

NameDescription
charactercharacter to classify