Commit 52b8df01 by Paolo Carlini Committed by Paolo Carlini

bitset (bitset<>::bitset(), [...]): Add constexpr specifier.

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
parent 17e3f4aa
2010-11-07 Paolo Carlini <paolo.carlini@oracle.com> 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 * include/debug/bitset: Do not derive from _Safe_sequence_base in
C++0x mode, otherwise std::bitset isn't a literal type anymore; C++0x mode, otherwise std::bitset isn't a literal type anymore;
adjust everywhere. adjust everywhere.
......
...@@ -95,10 +95,10 @@ namespace __profile ...@@ -95,10 +95,10 @@ namespace __profile
}; };
// 23.3.5.1 constructors: // 23.3.5.1 constructors:
bitset() : _Base() { } _GLIBCXX_CONSTEXPR bitset() : _Base() { }
#ifdef __GXX_EXPERIMENTAL_CXX0X__ #ifdef __GXX_EXPERIMENTAL_CXX0X__
bitset(unsigned long long __val) constexpr bitset(unsigned long long __val)
#else #else
bitset(unsigned long __val) bitset(unsigned long __val)
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment