Checks whether character C is a punctuation character.

Synopsis

Declared in <llvm/ADT/StringExtras.h>

bool
isPunct(char C);

Description

Locale‐independent version of the C standard library ispunct. The list of punctuation characters can be found in the documentation of std::ispunct: https://en.cppreference.com/w/cpp/string/byte/ispunct.

Return Value

True if C is a punctuation character.

Parameters

Name

Description

C

character to test

Created with MrDocs