From: Jonathan Wakely Date: Fri, 20 Feb 2015 19:01:46 +0000 (+0000) Subject: status_cxx2011.xml: Document implementation-defined behavior. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b56ac9d5f41fc799b25397d2236e76c47893e128;p=gcc.git status_cxx2011.xml: Document implementation-defined behavior. * doc/xml/manual/status_cxx2011.xml: Document implementation-defined behavior. * doc/html/manual/status.html: Regenerate. From-SVN: r220878 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index fed16573f03..e846e796c9b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -4,6 +4,10 @@ * python/libstdcxx/v6/printers.py (StdTuplePrinter): Handle new tuple layout. + * doc/xml/manual/status_cxx2011.xml: Document implementation-defined + behavior. + * doc/html/manual/status.html: Regenerate. + 2015-02-19 Jonathan Wakely PR libstdc++/58357 diff --git a/libstdc++-v3/doc/html/manual/status.html b/libstdc++-v3/doc/html/manual/status.html index 0d3f137e6ba..289c5623e63 100644 --- a/libstdc++-v3/doc/html/manual/status.html +++ b/libstdc++-v3/doc/html/manual/status.html @@ -227,10 +227,33 @@ particular release. see C++ 1998/2003 Implementation Specific Behavior. This section only documents behaviour which is new in the 2011 standard. +

+ 20.7.2.2.1 [util.smartptr.shared.const] + Only bad_alloc (or types derived from it) will + be thrown.

20.8.9.1.3 [func.bind.place]/1 There are 29 placeholders defined and the placeholder types are CopyAssignable. +

+ 21.2.3.2 [char.traits.specializations.char16_t], + 21.2.3.3 [char.traits.specializations.char32_t] + The types u16streampos and + u32streampos are both synonyms for + fpos<mbstate_t>. + The function eof returns int_type(-1). +

+ 21.2.3.2 [char.traits.specializations.char16_t] + The type u16streampos is a synonym for + fpos<mbstate_t>. + The function eof returns int_type(-1). +

+ 22.4.5.1.2 [locale.time.get.virtuals], + 22.4.5.3.2 [locale.time.put.virtuals] + Additional supported formats should be documented here. +

+ 22.4.7.1.2 [locale.messages.virtuals] + The mapping should be documented here.

23.5.4.2 [unord.map.cnstr], 23.5.5.2 [unord.multimap.cnstr], @@ -238,6 +261,45 @@ particular release. 23.5.7.2 [unord.multiset.cnstr] The default minimal bucket count is 0 for the default constructors, range constructors and initializer-list constructors. +

+ 25.3.12 [alg.random.shuffle] + The two-argument overload of random_shuffle + uses rand as the source of randomness. +

+ 26.5.5 [rand.predef] + The type default_random_engine is a synonym for + minstd_rand0. +

+ 26.5.6 [rand.device] + The default token argument to the + random_device constructor is + "default". Other valid arguments are + "/dev/random" and "/dev/urandom", + which determine the character special file to read random bytes from. + The "default" token will read bytes from a hardware + RNG if available (currently this only supports the IA-32 RDRAND + instruction) otherwise it is equivalent to + "/dev/urandom". + An exception of type runtime_error will be + thrown if a random_device object cannot open + or read from the source of random bytes. +

+ 26.5.8.1 [rand.dist.general] + The algorithms used by the distributions should be documented here. +

+ 26.8 [c.math] Whether the + rand function introduces data races depends on + the C library as the function is not provided by libstdc++. +

+ 28.5.1 [re.synopt], + 28.5.2 [re.matchflag] , + 28.5.3 [re.err] + syntax_option_type, match_flag_type + and error_type are unscoped enumeration types. +

+ 28.7 [re.traits] + The blank character class corresponds to the + ctype_base::blank mask.

30.2.3 [thread.req.native]/1 native_handle_type and diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2011.xml b/libstdc++-v3/doc/xml/manual/status_cxx2011.xml index 742d38dacd6..72d73c1b064 100644 --- a/libstdc++-v3/doc/xml/manual/status_cxx2011.xml +++ b/libstdc++-v3/doc/xml/manual/status_cxx2011.xml @@ -2575,12 +2575,45 @@ particular release. is new in the 2011 standard. + + 20.7.2.2.1 [util.smartptr.shared.const] + Only bad_alloc (or types derived from it) will + be thrown. + + 20.8.9.1.3 [func.bind.place]/1 There are 29 placeholders defined and the placeholder types are CopyAssignable. + + 21.2.3.2 [char.traits.specializations.char16_t], + 21.2.3.3 [char.traits.specializations.char32_t] + The types u16streampos and + u32streampos are both synonyms for + fpos<mbstate_t>. + The function eof returns int_type(-1). + + + + 21.2.3.2 [char.traits.specializations.char16_t] + The type u16streampos is a synonym for + fpos<mbstate_t>. + The function eof returns int_type(-1). + + + + 22.4.5.1.2 [locale.time.get.virtuals], + 22.4.5.3.2 [locale.time.put.virtuals] + Additional supported formats should be documented here. + + + + 22.4.7.1.2 [locale.messages.virtuals] + The mapping should be documented here. + + 23.5.4.2 [unord.map.cnstr], 23.5.5.2 [unord.multimap.cnstr], @@ -2590,6 +2623,59 @@ particular release. constructors and initializer-list constructors. + + 25.3.12 [alg.random.shuffle] + The two-argument overload of random_shuffle + uses rand as the source of randomness. + + + + 26.5.5 [rand.predef] + The type default_random_engine is a synonym for + minstd_rand0. + + + + 26.5.6 [rand.device] + The default token argument to the + random_device constructor is + "default". Other valid arguments are + "/dev/random" and "/dev/urandom", + which determine the character special file to read random bytes from. + The "default" token will read bytes from a hardware + RNG if available (currently this only supports the IA-32 RDRAND + instruction) otherwise it is equivalent to + "/dev/urandom". + An exception of type runtime_error will be + thrown if a random_device object cannot open + or read from the source of random bytes. + + + + 26.5.8.1 [rand.dist.general] + The algorithms used by the distributions should be documented here. + + + + 26.8 [c.math] Whether the + rand function introduces data races depends on + the C library as the function is not provided by libstdc++. + + + + 28.5.1 [re.synopt], + 28.5.2 [re.matchflag] , + 28.5.3 [re.err] + syntax_option_type, match_flag_type + and error_type are unscoped enumeration types. + + + + 28.7 [re.traits] + The blank character class corresponds to the + ctype_base::blank mask. + + 30.2.3 [thread.req.native]/1 native_handle_type and