description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: time_put_byname Class |
time_put_byname Class |
11/04/2016 |
|
|
e08c2348-64d2-4ace-98b1-1496e14c7b1a |
The derived class template describes an object that can serve as a locale facet of type time_put
< CharType, OutputIterator >.
template <class CharType, class OutIt = ostreambuf_iterator<CharType, char_traits<CharType>>>
class time_put_byname : public time_put<CharType, OutputIterator>
{
public:
explicit time_put_byname(
const char* _Locname,
size_t _Refs = 0);
explicit time_put_byname(
const string& _Locname,
size_t _Refs = 0);
protected:
virtual ~time_put_byname();
};
_Locname
A locale name.
_Refs
An initial reference count.
Its behavior is determined by the named locale _Locname. Each constructor initializes its base object with time_put<CharType, OutputIterator>(_Refs
).
Header: <locale>
Namespace: std