vectop(int, int) ctor fails on gcc4.0
Dhruv Matani
dhruvbird@gmx.net
Wed Oct 13 03:10:00 GMT 2004
Hello,
I am attaching a test-case that is failing on gcc4.0 but passes on all
previous gcc's. I suspect it's because of Matt's patch about the
construct/destruct functions used in the containers, but then again, the
code itself may be incorrect to start off with. Can someone please tell
me if the code is standard compliant?
For the suspect line(81), what it does is initialize a matrix(vector of
vector) using the (int, int) ctor.
--
-Dhruv Matani.
http://www.geocities.com/dhruvbird/
The price of freedom is responsibility, but it's a bargain, because
freedom is priceless. ~ Hugh Downs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vector_test.cpp
Type: text/x-c++
Size: 1969 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20041013/cd95eaf2/attachment.bin>
More information about the Libstdc++
mailing list