This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Inconsistent definition of vector<bool> specialization (again)



Hello!

In
http://gcc.gnu.org/ml/libstdc++/1999-q4/msg00222.html
Scott Snyder reported that including both <vector> and <queue> results in
a broken vector<bool>, since sometimes the specialization is used and
sometimes not, which I think is fixed now.
In our project (using gcc 2.95.2.1 and the accompanying libstdc++) we had
the same problem, because the project has been running quite long and we
mixed 
#include <vector>
with
#include <vector.h> // old style
since it only states
#include <stl_vector.h>
in vector.h.
Perhaps this has been fixed already in libstdc++-v3, but in the
2001-03-05 snapshot of gcc <backward/vector.h> still only includes
<bits/stl_vector.h>.

Is this behaviour wanted?

Best regards,
Arvid


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]