Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/locale/isgraph"

From cppreference.com
< cpp‎ | locale
(+)
 
m (Text replace - "cpp/string/narrow" to "cpp/string/byte")
Line 53: Line 53:
 
===See also===
 
===See also===
 
{{dcl list begin}}
 
{{dcl list begin}}
{{dcl list template | cpp/string/narrow/dcl list isgraph}}
+
{{dcl list template | cpp/string/byte/dcl list isgraph}}
 
{{dcl list template | cpp/string/wide/dcl list iswgraph}}
 
{{dcl list template | cpp/string/wide/dcl list iswgraph}}
 
{{dcl list end}}
 
{{dcl list end}}

Revision as of 17:18, 26 November 2011

Template:cpp/locale/sidebar

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 Template:cpp facet.

Contents

Parameters

ch - character
loc - locale

Return value

Returns Template:cpp if the character is classified as graphic, Template:cpp otherwise.

Equivalent function

Template:eq fun cpp

Example

Template:example cpp

See also

Template:cpp/string/byte/dcl list isgraphTemplate:cpp/string/wide/dcl list iswgraph