Name
ispunct function template — Determines whether a character is punctuation in a
locale
Synopsis
template <typename charT>
bool ispunct(charT c, const locale& loc);
The ispunct
function
determines whether the character c
is punctuation in the locale loc
. It returns the following:
use_facet<ctype<charT> >(loc).is(ctype_base::punct, c)