forked from HowardHinnant/date
Reordered template parameter list in several places
* Make consistent with function argument list order.
This commit is contained in:
44
d0355r3.html
44
d0355r3.html
@@ -818,7 +818,7 @@ basic_ostream<charT, traits>&
|
|||||||
to_stream(basic_ostream<charT, traits>& os, const charT* fmt,
|
to_stream(basic_ostream<charT, traits>& os, const charT* fmt,
|
||||||
const duration<Rep, Period>& d);
|
const duration<Rep, Period>& d);
|
||||||
|
|
||||||
template <class Rep, class Period, class charT, class traits, class Alloc = allocator<charT>>
|
template <class charT, class traits, class Rep, class Period, class Alloc = allocator<charT>>
|
||||||
basic_istream<charT, traits>&
|
basic_istream<charT, traits>&
|
||||||
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
||||||
duration<Rep, Period>& d,
|
duration<Rep, Period>& d,
|
||||||
@@ -992,37 +992,37 @@ template <class charT, class traits, class Duration>
|
|||||||
to_stream(basic_ostream<charT, traits>& os, const charT* fmt, const file_time<Duration>& tp);
|
to_stream(basic_ostream<charT, traits>& os, const charT* fmt, const file_time<Duration>& tp);
|
||||||
|
|
||||||
// from_stream
|
// from_stream
|
||||||
template <class Duration, class charT, class traits, class Alloc = allocator<charT>>
|
template <class charT, class traits, class Duration, class Alloc = allocator<charT>>
|
||||||
basic_istream<charT, traits>&
|
basic_istream<charT, traits>&
|
||||||
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
||||||
sys_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
sys_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
||||||
minutes* offset = nullptr);
|
minutes* offset = nullptr);
|
||||||
|
|
||||||
template <class Duration, class charT, class traits, class Alloc = allocator<charT>>
|
template <class charT, class traits, class Duration, class Alloc = allocator<charT>>
|
||||||
basic_istream<charT, traits>&
|
basic_istream<charT, traits>&
|
||||||
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
||||||
local_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
local_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
||||||
minutes* offset = nullptr);
|
minutes* offset = nullptr);
|
||||||
|
|
||||||
template <class Duration, class charT, class traits, class Alloc = allocator<charT>>
|
template <class charT, class traits, class Duration, class Alloc = allocator<charT>>
|
||||||
basic_istream<charT, traits>&
|
basic_istream<charT, traits>&
|
||||||
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
||||||
utc_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
utc_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
||||||
minutes* offset = nullptr);
|
minutes* offset = nullptr);
|
||||||
|
|
||||||
template <class Duration, class charT, class traits, class Alloc = allocator<charT>>
|
template <class charT, class traits, class Duration, class Alloc = allocator<charT>>
|
||||||
basic_istream<charT, traits>&
|
basic_istream<charT, traits>&
|
||||||
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
||||||
tai_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
tai_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
||||||
minutes* offset = nullptr);
|
minutes* offset = nullptr);
|
||||||
|
|
||||||
template <class Duration, class charT, class traits, class Alloc = allocator<charT>>
|
template <class charT, class traits, class Duration, class Alloc = allocator<charT>>
|
||||||
basic_istream<charT, traits>&
|
basic_istream<charT, traits>&
|
||||||
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
||||||
gps_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
gps_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
||||||
minutes* offset = nullptr);
|
minutes* offset = nullptr);
|
||||||
|
|
||||||
template <class Duration, class charT, class traits, class Alloc = allocator<charT>>
|
template <class charT, class traits, class Duration, class Alloc = allocator<charT>>
|
||||||
basic_istream<charT, traits>&
|
basic_istream<charT, traits>&
|
||||||
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
||||||
file_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
file_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
||||||
@@ -1472,21 +1472,21 @@ template <class charT, class traits, class Alloc, class Streamable>
|
|||||||
|
|
||||||
// parse
|
// parse
|
||||||
|
|
||||||
template <class Parsable, class charT, class traits, class Alloc>
|
template <class charT, class traits, class Alloc, class Parsable>
|
||||||
<i>unspecified</i>
|
<i>unspecified</i>
|
||||||
parse(const basic_string<charT, traits, Alloc>& format, Parsable& tp);
|
parse(const basic_string<charT, traits, Alloc>& format, Parsable& tp);
|
||||||
|
|
||||||
template <class Parsable, class charT, class traits, class Alloc>
|
template <class charT, class traits, class Alloc, class Parsable>
|
||||||
<i>unspecified</i>
|
<i>unspecified</i>
|
||||||
parse(const basic_string<charT, traits, Alloc>& format, Parsable& tp,
|
parse(const basic_string<charT, traits, Alloc>& format, Parsable& tp,
|
||||||
basic_string<charT, traits, Alloc>& abbrev);
|
basic_string<charT, traits, Alloc>& abbrev);
|
||||||
|
|
||||||
template <class Parsable, class charT, class traits, class Alloc>
|
template <class charT, class traits, class Alloc, class Parsable>
|
||||||
<i>unspecified</i>
|
<i>unspecified</i>
|
||||||
parse(const basic_string<charT, traits, Alloc>& format, Parsable& tp,
|
parse(const basic_string<charT, traits, Alloc>& format, Parsable& tp,
|
||||||
minutes& offset);
|
minutes& offset);
|
||||||
|
|
||||||
template <class Parsable, class charT, class traits, class Alloc>
|
template <class charT, class traits, class Alloc, class Parsable>
|
||||||
<i>unspecified</i>
|
<i>unspecified</i>
|
||||||
parse(const basic_string<charT, traits, Alloc>& format, Parsable& tp,
|
parse(const basic_string<charT, traits, Alloc>& format, Parsable& tp,
|
||||||
basic_string<charT, traits, Alloc>& abbrev, minutes& offset);
|
basic_string<charT, traits, Alloc>& abbrev, minutes& offset);
|
||||||
@@ -1690,7 +1690,7 @@ specified by [time.format].
|
|||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
template <class Rep, class Period, class charT, class traits, class Alloc = allocator<charT>>
|
template <class charT, class traits, class Rep, class Period, class Alloc = allocator<charT>>
|
||||||
basic_istream<charT, traits>&
|
basic_istream<charT, traits>&
|
||||||
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
||||||
duration<Rep, Period>& d,
|
duration<Rep, Period>& d,
|
||||||
@@ -2057,7 +2057,7 @@ an offset of <code>0min</code> will be formatted.
|
|||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
template <class Duration, class charT, class traits, class Alloc = allocator<charT>>
|
template <class charT, class traits, class Duration, class Alloc = allocator<charT>>
|
||||||
basic_istream<charT, traits>&
|
basic_istream<charT, traits>&
|
||||||
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
||||||
sys_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
sys_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
||||||
@@ -2287,7 +2287,7 @@ Output:
|
|||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
template <class Duration, class charT, class traits, class Alloc = allocator<charT>>
|
template <class charT, class traits, class Duration, class Alloc = allocator<charT>>
|
||||||
basic_istream<charT, traits>&
|
basic_istream<charT, traits>&
|
||||||
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
||||||
utc_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
utc_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
||||||
@@ -2476,7 +2476,7 @@ Output:
|
|||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
template <class Duration, class charT, class traits, class Alloc = allocator<charT>>
|
template <class charT, class traits, class Duration, class Alloc = allocator<charT>>
|
||||||
basic_istream<charT, traits>&
|
basic_istream<charT, traits>&
|
||||||
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
||||||
tai_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
tai_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
||||||
@@ -2666,7 +2666,7 @@ Output:
|
|||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
template <class Duration, class charT, class traits, class Alloc = allocator<charT>>
|
template <class charT, class traits, class Duration, class Alloc = allocator<charT>>
|
||||||
basic_istream<charT, traits>&
|
basic_istream<charT, traits>&
|
||||||
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
||||||
gps_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
gps_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
||||||
@@ -2814,7 +2814,7 @@ equivalent to that formatted by a <code>sys_time</code> initialized with <code>t
|
|||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
template <class Duration, class charT, class traits, class Alloc = allocator<charT>>
|
template <class charT, class traits, class Duration, class Alloc = allocator<charT>>
|
||||||
basic_istream<charT, traits>&
|
basic_istream<charT, traits>&
|
||||||
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
||||||
file_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
file_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
||||||
@@ -2910,7 +2910,7 @@ specified by [time.format]. If <code>%Z</code> is used, it will be replaced wit
|
|||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
template <class Duration, class charT, class traits, class Alloc = allocator<charT>>
|
template <class charT, class traits, class Duration, class Alloc = allocator<charT>>
|
||||||
basic_istream<charT, traits>&
|
basic_istream<charT, traits>&
|
||||||
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
from_stream(basic_istream<charT, traits>& is, const charT* fmt,
|
||||||
local_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
local_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
|
||||||
@@ -3327,7 +3327,7 @@ Add a new section 23.17.9 Parsing [time.parse]:
|
|||||||
<h3>23.17.9 Parsing [time.parse]</h3>
|
<h3>23.17.9 Parsing [time.parse]</h3>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
template <class Parsable, class charT, class traits, class Alloc>
|
template <class charT, class traits, class Alloc, class Parsable>
|
||||||
<i>unspecified</i>
|
<i>unspecified</i>
|
||||||
parse(const basic_string<charT, traits, Alloc>& fmt, Parsable& tp);
|
parse(const basic_string<charT, traits, Alloc>& fmt, Parsable& tp);
|
||||||
</pre>
|
</pre>
|
||||||
@@ -3347,7 +3347,7 @@ is a valid expression.
|
|||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
template <class Parsable, class charT, class traits, class Alloc>
|
template <class charT, class traits, class Alloc, class Parsable>
|
||||||
<i>unspecified</i>
|
<i>unspecified</i>
|
||||||
parse(const basic_string<charT, traits, Alloc>& fmt, Parsable& tp,
|
parse(const basic_string<charT, traits, Alloc>& fmt, Parsable& tp,
|
||||||
basic_string<charT, traits, Alloc>& abbrev);
|
basic_string<charT, traits, Alloc>& abbrev);
|
||||||
@@ -3368,7 +3368,7 @@ is a valid expression.
|
|||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
template <class Parsable, class charT, class traits, class Alloc>
|
template <class charT, class traits, class Alloc, class Parsable>
|
||||||
<i>unspecified</i>
|
<i>unspecified</i>
|
||||||
parse(const basic_string<charT, traits, Alloc>& fmt, Parsable& tp,
|
parse(const basic_string<charT, traits, Alloc>& fmt, Parsable& tp,
|
||||||
minutes& offset);
|
minutes& offset);
|
||||||
@@ -3389,7 +3389,7 @@ is a valid expression.
|
|||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
template <class Parsable, class charT, class traits, class Alloc>
|
template <class charT, class traits, class Alloc, class Parsable>
|
||||||
<i>unspecified</i>
|
<i>unspecified</i>
|
||||||
parse(const basic_string<charT, traits, Alloc>& fmt, Parsable& tp,
|
parse(const basic_string<charT, traits, Alloc>& fmt, Parsable& tp,
|
||||||
basic_string<charT, traits, Alloc>& abbrev, minutes& offset);
|
basic_string<charT, traits, Alloc>& abbrev, minutes& offset);
|
||||||
|
Reference in New Issue
Block a user