Library: Localization
time_base time_get_byname
time_get
locale::facet
A time formatting facet for input, based on the named locales
#include <locale>
namespace std {
template <class charT, class InputIterator =
istreambuf_iterator<charT> >
class time_get_byname;
}
template <> class time_get_byname<char>; template <> class time_get_byname<wchar_t>;
The time_get_byname template has the same function as the time_get template, but is specific to a particular named locale. For a description of the member functions of time_get_byname, see the reference for time_get.
namespace std {
template <class charT, class InputIterator =
istreambuf_iterator<charT> >
class time_get_byname : public time_get<charT,InputIterator> {
public:
explicit time_get_byname(const char*, size_t = 0);
};
}
explicit time_get_byname(const char* name,
size_t refs = 0);
Constructs a time_get_byname object for the locale given by name. Calls time_get<char_type>::time_get (refs).
locale, Facets, time_get, time_put_byname
ISO/IEC 14882:1998 -- International Standard for Information Systems -- Programming Language C++, Section 22.2.5.2