Click on the banner to return to the class reference home page.

isalpha


Locale Convenience Function

Summary

Determines if a character is alphabetic.

Data Type and Member Function Indexes
(exclusive of constructors and destructors)

None

Synopsis

#include <locale>

template <class charT> 
bool isalpha (charT c, const locale& loc) const;

Description

The isalpha function returns true if the character passed as a parameter is part of the alphabet specified by the locale parameter, otherwise the function returns false. The check is made using the ctype facet from the locale parameter.

See Also

other is_ functions, locale, ctype


©Copyright 1996, Rogue Wave Software, Inc.