diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2009-12-29 00:29:12 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2009-12-29 00:29:12 +0000 |
commit | 2838468cc33125cf9948190cf2b8509ac9b0cd9c (patch) | |
tree | 1b1aea7b3def35479ff6a8e5f64a627d3146e5c7 | |
parent | 25bf76a5230da08ed1a1fc215ea22e4760075b18 (diff) | |
download | gcc-2838468cc33125cf9948190cf2b8509ac9b0cd9c.zip gcc-2838468cc33125cf9948190cf2b8509ac9b0cd9c.tar.gz gcc-2838468cc33125cf9948190cf2b8509ac9b0cd9c.tar.bz2 |
bitset (bitset<>::bitset(const char*)): Add.
2009-12-28 Paolo Carlini <paolo.carlini@oracle.com>
* include/debug/bitset (bitset<>::bitset(const char*)): Add.
* include/profile/bitset (bitset<>::bitset(const char*)): Likewise.
From-SVN: r155498
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/include/debug/bitset | 5 | ||||
-rw-r--r-- | libstdc++-v3/include/profile/bitset | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 333a51f..c20bc0d 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2009-12-28 Paolo Carlini <paolo.carlini@oracle.com> + + * include/debug/bitset (bitset<>::bitset(const char*)): Add. + * include/profile/bitset (bitset<>::bitset(const char*)): Likewise. + 2009-12-24 Edward Smith-Rowland <3dw4rd@verizon.net> Paolo Carlini <paolo.carlini@oracle.com> diff --git a/libstdc++-v3/include/debug/bitset b/libstdc++-v3/include/debug/bitset index c6203d9..5e5f35d 100644 --- a/libstdc++-v3/include/debug/bitset +++ b/libstdc++-v3/include/debug/bitset @@ -144,6 +144,11 @@ namespace __debug bitset(const _Base& __x) : _Base(__x), _Safe_base() { } +#ifdef __GXX_EXPERIMENTAL_CXX0X__ + explicit + bitset(const char* __str) : _Base(__str) { } +#endif + // 23.3.5.2 bitset operations: bitset<_Nb>& operator&=(const bitset<_Nb>& __rhs) diff --git a/libstdc++-v3/include/profile/bitset b/libstdc++-v3/include/profile/bitset index e1be8b8..1d8ad9f 100644 --- a/libstdc++-v3/include/profile/bitset +++ b/libstdc++-v3/include/profile/bitset @@ -121,6 +121,11 @@ namespace __profile bitset(const _Base& __x) : _Base(__x) { } +#ifdef __GXX_EXPERIMENTAL_CXX0X__ + explicit + bitset(const char* __str) : _Base(__str) { } +#endif + // 23.3.5.2 bitset operations: bitset<_Nb>& operator&=(const bitset<_Nb>& __rhs) |