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]
Other format: [Raw text]

Re: Patch: stl_vector.h


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.


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