]> gcc.gnu.org Git - gcc.git/commitdiff
bitset (bitset<>::bitset(), [...]): Add constexpr specifier.
authorPaolo Carlini <paolo.carlini@oracle.com>
Sun, 7 Nov 2010 16:08:09 +0000 (16:08 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 7 Nov 2010 16:08:09 +0000 (16:08 +0000)
2010-11-07  Paolo Carlini  <paolo.carlini@oracle.com>

* include/profile/bitset (bitset<>::bitset(), bitset<>::
bitset(unsigned long long)): Add constexpr specifier.

From-SVN: r166417

libstdc++-v3/ChangeLog
libstdc++-v3/include/profile/bitset

index fa9a9bb898fdea4dd24a646f3403a41950720521..1bc5dfab23b41d3a3e52840ea3d481ca5c0bb319 100644 (file)
@@ -1,3 +1,8 @@
+2010-11-07  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/profile/bitset (bitset<>::bitset(), bitset<>::
+       bitset(unsigned long long)): Add constexpr specifier.
+
 2010-11-07  Paolo Carlini  <paolo.carlini@oracle.com>
 
        * include/debug/bitset: Do not derive from _Safe_sequence_base in
index b8b1e65f9e55d3fa37a07c300ca392be64d536b3..d7ecf81ff43e340a073b5413b83a3f0cac686aaa 100644 (file)
@@ -95,10 +95,10 @@ namespace __profile
       };
 
       // 23.3.5.1 constructors:
-      bitset() : _Base() { }
+      _GLIBCXX_CONSTEXPR bitset() : _Base() { }
 
 #ifdef __GXX_EXPERIMENTAL_CXX0X__
-      bitset(unsigned long long __val)
+      constexpr bitset(unsigned long long __val)
 #else
       bitset(unsigned long __val)
 #endif
This page took 0.103226 seconds and 5 git commands to generate.