Name

time_get_byname class template — Facet for input of dates and times

Synopsis

template <typename charT, typename InputIterator = istreambuf_iterator<charT> >
class time_get_byname : public time_get<charT, InputIterator>
{
public:
  typedef time_base::dateorder dateorder;
  typedef InputIterator iter_type;
  explicit time_get_byname(const char*, size_t refs = 0);
protected:
  //  . . .  Same virtual functions as in time_get
};

The time_get_byname class template is a facet for reading dates and times from an input stream using a named locale. The time_get_byname<char> and time_get_byname<wchar_t> instantiations are standard.

Get C++ In a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.