diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-12-29 00:29:12 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-12-29 00:29:12 +0000 |
commit | 433f8a43ac64b8055383fcfc3a19d5412b71566d (patch) | |
tree | 1b1aea7b3def35479ff6a8e5f64a627d3146e5c7 /libstdc++-v3 | |
parent | 0c9c1875e789c56eba94b921563a9e64a3ccd0f3 (diff) | |
download | gcc-433f8a43ac64b8055383fcfc3a19d5412b71566d.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155498 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-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 333a51f7d14..c20bc0d652d 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 c6203d9a985..5e5f35dcf1f 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 e1be8b8d1ca..1d8ad9f0ffa 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) |