This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of CD1 status.
Section: 24.3.7 [array], 22.9.2 [template.bitset] Status: CD1 Submitter: Daniel Krügler Opened: 2007-08-25 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [array].
View all issues with CD1 status.
Discussion:
[ Sophia Antipolis: ]
We handle this as two parts
- The proposed resolution is correct; move to ready.
- The issue points out a real problem, but the issue is larger than just this solution. We believe a paper is needed, applying the full new features of C++ (including extensible literals) to update std::bitset. We note that we do not consider this new work, and that is should be handled by the Library Working Group.
In order to have a consistent working paper, Alisdair and Daniel produced a new wording for the resolution.
Proposed resolution:
In the class template definition of 24.3.7 [array]/p. 3 change
constexpr bool empty() const;
In the class template definition of 22.9.2 [template.bitset]/p. 1 change
constexpr bool test(size_t pos ) const;
and in 22.9.2.3 [bitset.members] change
constexpr bool test(size_t pos ) const;