Constructs an object of locale.
locale() throw(); locale(const locale& other) throw(); explicit locale(const char* std_name); locale(const locale& other, const char* std_name, category); template <class Facet> locale(const locale& other, Facet* f); locale(const locale& other, const locale& one, category cats);
std::locale a_locale(""); is an example use of the constructor: explicit locale(const char* std_name);. The "" locale will attempt to read the environment variable EWL_DEFAULT_LOCALE and create a locale with the associated string. If getenv("EWL_DEFAULT_LOCALE") returns null, then "C" is used. There is no data file associated with the "C" locale. The "C" locale is coded directly into EWL C++.