mirror of
https://github.com/HowardHinnant/date.git
synced 2025-01-16 20:41:20 +08:00
format passes time_point by const&
This commit is contained in:
parent
bcdf8acb8b
commit
ddb826e490
18
tz.html
18
tz.html
@ -26,7 +26,7 @@
|
||||
<br/>
|
||||
<br/>
|
||||
<a href="mailto:howard.hinnant@gmail.com">Howard E. Hinnant</a><br/>
|
||||
2016-09-09<br/>
|
||||
2016-09-13<br/>
|
||||
</address>
|
||||
<hr/>
|
||||
<h1 align=center>Time Zone Database Parser</h1>
|
||||
@ -1997,11 +1997,11 @@ make_zoned(const std::string& name, const sys_time<Duration>& st)
|
||||
template <class CharT, class Traits, class Duration>
|
||||
std::basic_string<class CharT, class Traits>
|
||||
format(const std::locale& loc, std::basic_string<class CharT, class Traits> format,
|
||||
local_time<Duration> tp);
|
||||
const local_time<Duration>& tp);
|
||||
|
||||
template <class CharT, class Traits, class Duration>
|
||||
std::basic_string<class CharT, class Traits>
|
||||
format(std::basic_string<class CharT, class Traits> format, local_time<Duration> tp);
|
||||
format(std::basic_string<class CharT, class Traits> format, const local_time<Duration>& tp);
|
||||
|
||||
template <class CharT, class Traits, class Duration>
|
||||
std::basic_string<class CharT, class Traits>
|
||||
@ -2015,21 +2015,21 @@ format(std::basic_string<class CharT, class Traits> format, const zoned_ti
|
||||
template <class CharT, class Traits, class Duration>
|
||||
std::basic_string<class CharT, class Traits>
|
||||
format(const std::locale& loc, std::basic_string<class CharT, class Traits> format,
|
||||
sys_time<Duration> tp);
|
||||
const sys_time<Duration>& tp);
|
||||
|
||||
template <class CharT, class Traits, class Duration>
|
||||
std::basic_string<class CharT, class Traits>
|
||||
format(std::basic_string<class CharT, class Traits> format, sys_time<Duration> tp);
|
||||
format(std::basic_string<class CharT, class Traits> format, const sys_time<Duration>& tp);
|
||||
|
||||
// const CharT* formats
|
||||
|
||||
template <class CharT, class Duration>
|
||||
std::basic_string<class CharT>
|
||||
format(const std::locale& loc, const CharT* format, local_time<Duration> tp);
|
||||
format(const std::locale& loc, const CharT* format, const local_time<Duration>& tp);
|
||||
|
||||
template <class CharT, class Duration>
|
||||
std::basic_string<class CharT>
|
||||
format(const CharT* format, local_time<Duration> tp);
|
||||
format(const CharT* format, const local_time<Duration>& tp);
|
||||
|
||||
template <class CharT, class Duration>
|
||||
std::basic_string<class CharT>
|
||||
@ -2041,11 +2041,11 @@ format(const CharT* format, const zoned_time<Duration>& tp);
|
||||
|
||||
template <class CharT, class Duration>
|
||||
std::basic_string<class CharT>
|
||||
format(const std::locale& loc, const CharT* format, sys_time<Duration> tp);
|
||||
format(const std::locale& loc, const CharT* format, const sys_time<Duration>& tp);
|
||||
|
||||
template <class CharT, class Duration>
|
||||
std::basic_string<class CharT>
|
||||
format(const CharT* format, sys_time<Duration> tp);
|
||||
format(const CharT* format, const sys_time<Duration>& tp);
|
||||
</pre>
|
||||
<blockquote>
|
||||
<p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user