mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 21:41:14 +08:00
PR libstdc++/23578 (cont)
2005-08-30 Paolo Carlini <pcarlini@suse.de> PR libstdc++/23578 (cont) * include/bits/stl_bvector.h (class vector<bool>): Add a dummy data() to avoid problems in debug-mode. From-SVN: r103641
This commit is contained in:
parent
064e8a9454
commit
5038e0988e
@ -1,3 +1,9 @@
|
||||
2005-08-30 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
PR libstdc++/23578 (cont)
|
||||
* include/bits/stl_bvector.h (class vector<bool>): Add
|
||||
a dummy data() to avoid problems in debug-mode.
|
||||
|
||||
2005-08-30 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* testsuite/ext/hash_map/23528.cc: New.
|
||||
|
@ -808,6 +808,14 @@ template<typename _Alloc>
|
||||
back() const
|
||||
{ return *(end() - 1); }
|
||||
|
||||
// _GLIBCXX_RESOLVE_LIB_DEFECTS
|
||||
// DR 464. Suggestion for new member functions in standard containers.
|
||||
// N.B. DR 464 says nothing about vector<bool> but we need something
|
||||
// here due to the way we are implementing DR 464 in the debug-mode
|
||||
// vector class.
|
||||
void
|
||||
data() { }
|
||||
|
||||
void
|
||||
push_back(bool __x)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user