diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 217b1113eb0..1a86ff544d6 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2005-08-30 Paolo Carlini + + PR libstdc++/23578 (cont) + * include/bits/stl_bvector.h (class vector): Add + a dummy data() to avoid problems in debug-mode. + 2005-08-30 Paolo Carlini * testsuite/ext/hash_map/23528.cc: New. diff --git a/libstdc++-v3/include/bits/stl_bvector.h b/libstdc++-v3/include/bits/stl_bvector.h index 859554411c2..afa25b1b4ca 100644 --- a/libstdc++-v3/include/bits/stl_bvector.h +++ b/libstdc++-v3/include/bits/stl_bvector.h @@ -808,6 +808,14 @@ template 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 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) {