Difference between revisions of "cpp/locale/isgraph"
From cppreference.com
m (Text replace - "cpp/string/narrow" to "cpp/string/byte") |
m (Text replace - "===Equivalent function===" to "===Possible implementation===") |
||
Line 19: | Line 19: | ||
Returns {{cpp|true}} if the character is classified as graphic, {{cpp|false}} otherwise. | Returns {{cpp|true}} if the character is classified as graphic, {{cpp|false}} otherwise. | ||
− | === | + | ===Possible implementation=== |
{{eq fun cpp | {{eq fun cpp | ||
| 1= | | 1= |
Revision as of 11:58, 19 March 2012
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.