BloombergLP::bdlb::CharType::isPrint

Return whether character is printable, including space.

Synopsis

Declared in <bdlb_chartype.h>

static
bool
isPrint(char character);

Description

Return true if the specified character is in the PRINT category (i.e., any printable character including SPACE), and false otherwise.

Return Value

true if character is printable (including space), and false otherwise

Parameters

NameDescription
charactercharacter to classify