BloombergLP::bdlb::CharType::isPunct

Return whether character is punctuation.

Synopsis

Declared in <bdlb_chartype.h>

static
bool
isPunct(char character);

Description

Return true if the specified character is in the PUNCT category (i.e., any printable character other than SPACE or ALNUM), and false otherwise.

Return Value

true if character is punctuation, and false otherwise

Parameters

NameDescription
charactercharacter to classify