Commit 5038e098 by Paolo Carlini Committed by Paolo Carlini

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
parent 064e8a94
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.
2005-08-29 Paolo Carlini <pcarlini@suse.de>
......
......@@ -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)
{
......
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