std::isgraph(std::locale) (3) - Linux Manuals
std::isgraph(std::locale): std::isgraph(std::locale)
NAME
std::isgraph(std::locale) - std::isgraph(std::locale)
Synopsis
Defined in header <locale>
template< class charT >
bool isgraph( charT ch, const locale& loc );
Checks if the given character classified as a graphic character (i.e. printable, excluding space) by the given locale's std::ctype facet.
Parameters
ch - character
loc - locale
Return value
Returns true if the character is classified as graphic, false otherwise.
Possible implementation
Example
Demonstrates the use of isgraph() with different locales (OS-specific).
// Run this code
Output:
See also
isgraph (function)
iswgraph (function)