Patch: stl_vector.h

Paolo Carlini pcarlini@suse.de
Fri Oct 15 20:55:00 GMT 2004


Dhruv Matani wrote:

>>And where is a short testcase 
>>
>vect_test.cpp
>
I'm sure this is not a portable way to construct a matrix object based
on a vector of vector: indeed, other up to date compilers reject your
code. Which constructor of the outer vector, among those in 23.2.4.1, is
you code targetting? Have a look at this, instead:

  http://www.parashift.com/c++-faq-lite/freestore-mgmt.html#faq-16.18

Paolo.



More information about the Libstdc++ mailing list