Skip to content. Skip to navigation

ICTP Portal

Sections
You are here: Home Manuals on-line PGI Compiler pgC_lib ispunct
Personal tools
Document Actions

ispunct



Click on the banner to return to the class reference home page.

ispunct


Locale Convenience Function

Summary

Determines if a character is punctuation.

Data Type and Member Function Indexes
(exclusive of constructors and destructors)

None

Synopsis

#include <locale>

template <class charT> 
bool ispunct (charT c, const locale& loc) const;

Description

The ispunct function returns true if the character passed as a parameter is punctuation, otherwise the function returns false. The check is made using the ctype facet from the locale parameter.

See Also

other is_ functions, locale, ctype


©Copyright 1996, Rogue Wave Software, Inc.


Powered by Plone This site conforms to the following standards: