Name
isgraph function template — Determines whether a character is graphical in a locale
Synopsis
template <typename charT>
bool isgraph(charT c, const locale& loc);
The isgraph
function
determines whether the character c
is graphical (alphanumeric or
punctuation) in the locale loc
.
It returns the following:
use_facet<ctype<charT> >(loc).is(ctype_base::graph, c)
Get C++ In a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.