Namespaces
Variants
Views
Actions

std::ispunct(std::locale)

From cppreference.com
< cpp‎ | locale
Revision as of 13:03, 27 September 2011 by Cubbi (Talk | contribs)

Template:cpp/locale/sidebar

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.

Equivalent function

Template:eq fun cpp

Example

Template:example cpp

See also

Template:cpp/string/narrow/dcl list ispunctTemplate:cpp/string/wide/dcl list iswpunct