|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86265 - branches/release/libs/chrono/doc
From: vicente.botet_at_[hidden]
Date: 2013-10-12 11:59:18
Author: viboes
Date: 2013-10-12 11:59:18 EDT (Sat, 12 Oct 2013)
New Revision: 86265
URL: http://svn.boost.org/trac/boost/changeset/86265
Log:
Chrono: update time_point io format tags.
Text files modified:
branches/release/libs/chrono/doc/chrono.qbk | 72 +++++++++++++++++++++++++++++++++++-----
1 files changed, 63 insertions(+), 9 deletions(-)
Modified: branches/release/libs/chrono/doc/chrono.qbk
==============================================================================
--- branches/release/libs/chrono/doc/chrono.qbk Sat Oct 12 11:30:35 2013 (r86264)
+++ branches/release/libs/chrono/doc/chrono.qbk 2013-10-12 11:59:18 EDT (Sat, 12 Oct 2013) (r86265)
@@ -642,6 +642,8 @@
* GCC 4.5.2 -std=c++0x
* GCC 4.6.0
* GCC 4.6.0 -std=c++0x
+* GCC 4.8.0
+* GCC 4.8.0 -std=c++0x
Ubuntu with
* GCC 4.4.6
@@ -662,16 +664,15 @@
* GCC 4.7.0 -std=c++0x
* GCC 4.7.1
* GCC 4.7.1 -std=c++0x
-* clang 1.6
-* clang 2.9
-* clang 2.9 -std=c++0x
-* clang 3.0
-* clang 3.0 -std=c++0x
+* GCC 4.7.2
+* GCC 4.7.2 -std=c++0x
+* GCC 4.8.0
+* GCC 4.8.0 -std=c++0x
+* GCC 4.8.1
+* GCC 4.8.1 -std=c++0x
* clang 3.1
-* clang 3.1 -std=c++0x
* clang 3.1 -std=c++0x -stdlib=libc++
* clang 3.2
-* clang 3.2 -std=c++11
* clang 3.2 -std=c++11 -stdlib=libc++
@@ -4256,7 +4257,7 @@
[section:get_time_fmt Non Member Function `get_time_fmt(std::ios_base &)`]
template<typename CharT>
- std::basic_string<CharT> __get_time_fmt(std::ios_base & ios);
+ std::basic_string<CharT> get_time_fmt(std::ios_base & ios);
__returns The stream's time format attribute associated to `ios`.
@@ -4265,9 +4266,50 @@
[section:set_time_fmt Non Member Function `set_time_fmt(std::ios_base&, std::basic_string<CharT> const&)`]
template<typename CharT>
- void __set_time_fmt(std::ios_base& ios, std::basic_string<CharT> const& fmt);
+ void set_time_fmt(std::ios_base& ios, std::basic_string<CharT> const& fmt);
__effects Set the stream's time format attribute associated to `ios` with the `fmt` parameter.
+
+The format is composed of zero or more directives.
+Each directive is composed of one of the following:
+
+ * one or more white-space characters (as specified by isspace());
+ * an ordinary character (neither '%' nor a white-space character);
+ * or a conversion specification.
+
+Each conversion specification is composed of a '%' character followed by a conversion character which specifies the replacement required.
+The application shall ensure that there is white-space or other non-alphanumeric characters between any two conversion specifications.
+The following conversion specifications are supported:
+
+[table Format tags
+ [[Format Specifier] [Description ] [Example]]
+ [[`%%`] [Replaced by `%`.] [.]]
+ [[`%a %A`] [The day of the week, using the locale's weekday names; either the abbreviated or full name may be specified.] ["Monday".]]
+ [[`%b %B %h`] [The month, using the locale's month names; either the abbreviated or full name may be specified.] ["February".]]
+ [[`%c`] [Not supported.] [.]]
+ [[`%d %e`] [The day of the month `[01,31]`; leading zeros are permitted but not required..] [.]]
+ [[`%D`] [The date as `%m/%d/%y`.] [.]]
+ [[`%F`] [The date as `%Y/%m/%d`.] [.]]
+ [[`%H`] [The hour (24-hour clock) `[00,23]`; leading zeros are permitted but not required.] [.]]
+ [[`%I`] [The hour (12-hour clock) `[01,12]`; leading zeros are permitted but not required.] [.]]
+ [[`%j`] [The day number of the year `[001,366]`; leading zeros are permitted but not required.] ["060" => Feb-29.]]
+ [[`%m`] [The month number `[01,12]`; leading zeros are permitted but not required..] ["01" => January.]]
+ [[`%M`] [The minute `[00,59]`; leading zeros are permitted but not required.] [.]]
+ [[`%n %t`] [Any white space..] [.]]
+ [[`%p`] [Not supported.] [.]]
+ [[`%r`] [Not supported.] [.]]
+ [[`%R`] [The time as `%H:%M`.] [.]]
+ [[`%S`] [The seconds `[00,60]`; leading zeros are permitted but not required.] [.]]
+ [[`%T`] [The time as `%H:%M:%S`.] [.]]
+ [[`%U`] [Not supported.] [.]]
+ [[`%w`] [The weekday as a decimal number `[0,6]`, with 0 representing Sunday; leading zeros are permitted but not required..] ["0" => Sunday.]]
+ [[`%W`] [Not supported.] [.]]
+ [[`%x`] [The date, using the locale's date format..] [.]]
+ [[`%X`] [Not supported.] [.]]
+ [[`%y`] [Not supported.] ["2005".]]
+ [[`%Y`] [The year, including the century (for example, 1988).] [.]]
+]
+
[endsect]
@@ -7322,8 +7364,20 @@
[/==================================]
[//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////]
+[section [*Version 2.0.3, September 29, 2013 - 1.55] ]
+
+[*Fixes:]
+
+* [@http://svn.boost.org/trac/boost/ticket/7868 #7868] chrono_io parses time incorrectly (1.53 and 1.52)
+* [@http://svn.boost.org/trac/boost/ticket/9028 #9028] Typo in boost/chrono/stopwatches/formatters/base_formatter.hpp
+* [@http://svn.boost.org/trac/boost/ticket/9147 #9147] uninitialized std::tm
+
+[endsect] [/section [*Version 2.0.3] ]
+
+[//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////]
[section [*Version 2.0.2, June 15, 2013 - 1.54] ]
+
[*Fixes:]
* [@http://svn.boost.org/trac/boost/ticket/8079 #8079] Chrono memory leak
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk