Difference between revisions of "cpp/locale/isalpha"
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 alphabetic, {{cpp|false}} otherwise. | Returns {{cpp|true}} if the character is classified as alphabetic, {{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 isalpha( charT ch, const locale& loc ); |
||
Checks if the given character classified as an alphabetic character 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 alphabetic, Template:cpp otherwise.