summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/debug/bitset
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-29 11:42:08 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-29 11:42:08 +0000
commit5b015bb17d3470ad3188557a80eb51296e989875 (patch)
tree53337bf2807c37592c5815a3102022bb86cf95c7 /libstdc++-v3/include/debug/bitset
parentd82c8605352486009317d903db37bc496894a50c (diff)
downloadppe42-gcc-5b015bb17d3470ad3188557a80eb51296e989875.tar.gz
ppe42-gcc-5b015bb17d3470ad3188557a80eb51296e989875.zip
2008-05-29 Paolo Carlini <paolo.carlini@oracle.com>
* include/debug/bitset (bitset(const char*)): Implement DR 778 in debug-mode too. * include/bits/cpp_type_traits.h (__is_integer): In C++0x mode deal with char16_t and char32_t. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136158 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/debug/bitset')
-rw-r--r--libstdc++-v3/include/debug/bitset6
1 files changed, 6 insertions, 0 deletions
diff --git a/libstdc++-v3/include/debug/bitset b/libstdc++-v3/include/debug/bitset
index db4b3c075d0..75474c806b5 100644
--- a/libstdc++-v3/include/debug/bitset
+++ b/libstdc++-v3/include/debug/bitset
@@ -134,6 +134,12 @@ namespace __debug
__n = (std::basic_string<_CharT,_Traits,_Allocator>::npos))
: _Base(__str, __pos, __n) { }
+ // _GLIBCXX_RESOLVE_LIB_DEFECTS
+ // 778. std::bitset does not have any constructor taking a string literal
+ explicit
+ bitset(const char* __s)
+ : _Base(__s) { }
+
bitset(const _Base& __x) : _Base(__x), _Safe_base() { }
// 23.3.5.2 bitset operations:
OpenPOWER on IntegriCloud