diff options
| -rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
| -rw-r--r-- | libstdc++-v3/include/bits/stl_bvector.h | 8 |
2 files changed, 14 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 217b111..1a86ff5 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,11 @@ 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> diff --git a/libstdc++-v3/include/bits/stl_bvector.h b/libstdc++-v3/include/bits/stl_bvector.h index 8595544..afa25b1 100644 --- a/libstdc++-v3/include/bits/stl_bvector.h +++ b/libstdc++-v3/include/bits/stl_bvector.h @@ -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) { |
