summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-03 16:17:44 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2010-01-03 16:17:44 +0000
commit6fa5613817047cd67068c5750e689ed5a50ec01e (patch)
treee8907e94580d4b8d8f3ac530ea24c3caffedd790
parent3328b1fb6eb35e5872357955e385170c37c4e2c5 (diff)
downloadppe42-gcc-6fa5613817047cd67068c5750e689ed5a50ec01e.tar.gz
ppe42-gcc-6fa5613817047cd67068c5750e689ed5a50ec01e.zip
2010-01-03 Paolo Carlini <paolo.carlini@oracle.com>
* include/profile/bitset (bitset<>::bitset(unsigned long long)): Add in C++0x mode. * include/debug/bitset (bitset<>::bitset(unsigned long long)): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155589 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libstdc++-v3/ChangeLog7
-rw-r--r--libstdc++-v3/include/debug/bitset9
-rw-r--r--libstdc++-v3/include/profile/bitset9
3 files changed, 21 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index f768680e965..f77a30123ce 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,12 @@
2010-01-03 Paolo Carlini <paolo.carlini@oracle.com>
+ * include/profile/bitset (bitset<>::bitset(unsigned long long)): Add
+ in C++0x mode.
+ * include/debug/bitset (bitset<>::bitset(unsigned long long)):
+ Likewise.
+
+2010-01-03 Paolo Carlini <paolo.carlini@oracle.com>
+
* include/tr1_impl/hashtable (_Hashtable<>): Remove insert_return_type
typedef.
* include/profile/unordered_map (unordered_map<>::insert(const
diff --git a/libstdc++-v3/include/debug/bitset b/libstdc++-v3/include/debug/bitset
index 734bf228654..e78eb561573 100644
--- a/libstdc++-v3/include/debug/bitset
+++ b/libstdc++-v3/include/debug/bitset
@@ -1,6 +1,6 @@
// Debugging bitset implementation -*- C++ -*-
-// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009
+// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
@@ -120,7 +120,12 @@ namespace __debug
// 23.3.5.1 constructors:
bitset() : _Base() { }
- bitset(unsigned long __val) : _Base(__val) { }
+#ifdef __GXX_EXPERIMENTAL_CXX0X__
+ bitset(unsigned long long __val)
+#else
+ bitset(unsigned long __val)
+#endif
+ : _Base(__val) { }
template<typename _CharT, typename _Traits, typename _Alloc>
explicit
diff --git a/libstdc++-v3/include/profile/bitset b/libstdc++-v3/include/profile/bitset
index 7df8d88d7a8..21464767331 100644
--- a/libstdc++-v3/include/profile/bitset
+++ b/libstdc++-v3/include/profile/bitset
@@ -1,6 +1,6 @@
// Profiling bitset implementation -*- C++ -*-
-// Copyright (C) 2009 Free Software Foundation, Inc.
+// Copyright (C) 2009, 2010 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -97,7 +97,12 @@ namespace __profile
// 23.3.5.1 constructors:
bitset() : _Base() { }
- bitset(unsigned long __val) : _Base(__val) { }
+#ifdef __GXX_EXPERIMENTAL_CXX0X__
+ bitset(unsigned long long __val)
+#else
+ bitset(unsigned long __val)
+#endif
+ : _Base(__val) { }
template<typename _CharT, typename _Traits, typename _Alloc>
explicit
OpenPOWER on IntegriCloud