std::ispunct(std::locale)
From cppreference.com
Defined in header <locale>
|
||
template< class charT > bool ispunct( charT ch, const locale& loc ); |
||
Checks if the given character is classified as an punctuation character by the given locale's Template:cpp facet.
Contents |
Parameters
ch | - | character |
loc | - | locale |
Return value
Returns Template:cpp if the character is classified as punctuation, Template:cpp otherwise.