std::iscntrl(std::locale)
From cppreference.com
| Defined in header <locale>
|
||
| template< class CharT > bool iscntrl( CharT ch, const locale& loc ); |
||
Checks if the given character is classified as a control character by the given locale's std::ctype facet.
Contents |
[edit] Parameters
| ch | - | character |
| loc | - | locale |
[edit] Return value
Returns true if the character is classified as a control character, false otherwise.
[edit] Possible implementation
template<class CharT> bool iscntrl(CharT ch, const std::locale& loc) { return |