cpp/locale/ispunct

Checks if the given character is classified as a punctuation character by the given locale's std facet.

Return value
Returns if the character is classified as punctuation,  otherwise.