32#ifndef _RWSTD_LOC_TIME_PUT_H_INCLUDED
33#define _RWSTD_LOC_TIME_PUT_H_INCLUDED
37# pragma GCC system_header
55template <
class _CharT,
class _OutputIter = ostreambuf_iterator<_CharT> >
56struct time_put: _RW::__rw_facet
58 typedef _CharT char_type;
59 typedef _OutputIter iter_type;
61 explicit time_put (_RWSTD_SIZE_T __refs = 0)
62 : _RW::__rw_facet (__refs) { }
67 iter_type put (iter_type, ios_base&, char_type,
const tm*,
68 const char_type*,
const char_type*)
const;
70 iter_type put (iter_type __it, ios_base& __flags, char_type __fill,
71 const tm* __tmb,
char __fmt,
char __modifier = 0)
const {
72 return do_put (__it, __flags, __fill, __tmb, __fmt, __modifier);
75 static _RW::__rw_facet_id id;
81 do_put (iter_type, ios_base&, char_type,
const tm*,
char,
char)
const;
85#ifndef _RWSTD_NO_SPECIALIZED_FACET_ID
88_RW::__rw_facet_id time_put<char, ostreambuf_iterator<char> >::id;
90# ifndef _RWSTD_NO_WCHAR_T
93_RW::__rw_facet_id time_put<wchar_t, ostreambuf_iterator<wchar_t> >::id;
100template <
class _CharT,
class _OutputIter = ostreambuf_iterator<_CharT> >
101class time_put_byname:
public time_put<_CharT, _OutputIter>
103 char _C_namebuf [32];
107 explicit time_put_byname (
const char *__name, _RWSTD_SIZE_T __ref = 0)
108 : time_put<_CharT, _OutputIter>(__ref) {
109 this->_C_set_name (__name, _C_namebuf,
sizeof _C_namebuf);
118#if _RWSTD_DEFINE_TEMPLATE_FIRST (_TIME_PUT)
124# pragma warning (push)
125# pragma warning (disable: 4231)
131#if _RWSTD_INSTANTIATE (_TIME_PUT, _CHAR)
137#if _RWSTD_INSTANTIATE (_TIME_PUT, _WCHAR_T)
147# pragma warning (pop)
151#if _RWSTD_DEFINE_TEMPLATE_LAST (_TIME_PUT)
#define _RWSTD_SPECIALIZED_CLASS
#define _RWSTD_INSTANTIATE_1(arg)
#define _RWSTD_NAMESPACE(name)
#define _RWSTD_ATTRIBUTE_NOTHROW