Namespaces
Variants
Views
Actions

std::isprint(std::locale)

From cppreference.com
< cpp‎ | locale
Revision as of 13:07, 27 September 2011 by Cubbi (Talk | contribs)

Template:cpp/locale/sidebar

Defined in header <locale>
template< class charT >
bool isprint( charT ch, const locale& loc );

Checks if the given character classified as a printable character (including 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 printable, Template:cpp otherwise.

Equivalent function

Template:eq fun cpp

Example

Template:example cpp

See also

Template:cpp/string/narrow/dcl list isprintTemplate:cpp/string/wide/dcl list iswprint