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
This commit is contained in:
Paolo Carlini 2009-12-29 00:29:12 +00:00 committed by Paolo Carlini
parent 25bf76a523
commit 2838468cc3
3 changed files with 15 additions and 0 deletions

View File

@ -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>

View File

@ -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)

View File

@ -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)