diff --git a/d0355r3.html b/d0355r3.html index fa16421..9f6689a 100644 --- a/d0355r3.html +++ b/d0355r3.html @@ -818,7 +818,7 @@ basic_ostream<charT, traits>& to_stream(basic_ostream<charT, traits>& os, const charT* fmt, 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>& from_stream(basic_istream<charT, traits>& is, const charT* fmt, 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); // 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>& from_stream(basic_istream<charT, traits>& is, const charT* fmt, sys_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = 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>& from_stream(basic_istream<charT, traits>& is, const charT* fmt, local_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = 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>& from_stream(basic_istream<charT, traits>& is, const charT* fmt, utc_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = 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>& from_stream(basic_istream<charT, traits>& is, const charT* fmt, tai_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = 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>& from_stream(basic_istream<charT, traits>& is, const charT* fmt, gps_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = 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>& from_stream(basic_istream<charT, traits>& is, const charT* fmt, 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 -template <class Parsable, class charT, class traits, class Alloc> +template <class charT, class traits, class Alloc, class Parsable> unspecified 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> unspecified parse(const basic_string<charT, traits, Alloc>& format, Parsable& tp, basic_string<charT, traits, Alloc>& abbrev); -template <class Parsable, class charT, class traits, class Alloc> +template <class charT, class traits, class Alloc, class Parsable> unspecified parse(const basic_string<charT, traits, Alloc>& format, Parsable& tp, minutes& offset); -template <class Parsable, class charT, class traits, class Alloc> +template <class charT, class traits, class Alloc, class Parsable> unspecified parse(const basic_string<charT, traits, Alloc>& format, Parsable& tp, basic_string<charT, traits, Alloc>& abbrev, minutes& offset); @@ -1690,7 +1690,7 @@ specified by [time.format].
-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>&
 from_stream(basic_istream<charT, traits>& is, const charT* fmt,
             duration<Rep, Period>& d,
@@ -2057,7 +2057,7 @@ an offset of 0min will be formatted.
 
 
 
-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>&
 from_stream(basic_istream<charT, traits>& is, const charT* fmt,
             sys_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
@@ -2287,7 +2287,7 @@ Output:
 
 
 
-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>&
 from_stream(basic_istream<charT, traits>& is, const charT* fmt,
             utc_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
@@ -2476,7 +2476,7 @@ Output:
 
 
 
-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>&
 from_stream(basic_istream<charT, traits>& is, const charT* fmt,
             tai_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
@@ -2666,7 +2666,7 @@ Output:
 
 
 
-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>&
 from_stream(basic_istream<charT, traits>& is, const charT* fmt,
             gps_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
@@ -2814,7 +2814,7 @@ equivalent to that formatted by a sys_time initialized with t
 
 
 
-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>&
 from_stream(basic_istream<charT, traits>& is, const charT* fmt,
             file_time<Duration>& tp, basic_string<charT, traits, Alloc>* abbrev = nullptr,
@@ -2910,7 +2910,7 @@ specified by [time.format].  If %Z is used, it will be replaced wit
 
 
 
-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>&
 from_stream(basic_istream<charT, traits>& is, const charT* fmt,
             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]:
 

23.17.9 Parsing [time.parse]

-template <class Parsable, class charT, class traits, class Alloc>
+template <class charT, class traits, class Alloc, class Parsable>
 unspecified
 parse(const basic_string<charT, traits, Alloc>& fmt, Parsable& tp);
 
@@ -3347,7 +3347,7 @@ is a valid expression.
-template <class Parsable, class charT, class traits, class Alloc>
+template <class charT, class traits, class Alloc, class Parsable>
 unspecified
 parse(const basic_string<charT, traits, Alloc>& fmt, Parsable& tp,
       basic_string<charT, traits, Alloc>& abbrev);
@@ -3368,7 +3368,7 @@ is a valid expression.
 
 
 
-template <class Parsable, class charT, class traits, class Alloc>
+template <class charT, class traits, class Alloc, class Parsable>
 unspecified
 parse(const basic_string<charT, traits, Alloc>& fmt, Parsable& tp,
       minutes& offset);
@@ -3389,7 +3389,7 @@ is a valid expression.
 
 
 
-template <class Parsable, class charT, class traits, class Alloc>
+template <class charT, class traits, class Alloc, class Parsable>
 unspecified
 parse(const basic_string<charT, traits, Alloc>& fmt, Parsable& tp,
       basic_string<charT, traits, Alloc>& abbrev, minutes& offset);