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] | |
Hi,
The changes to the testcases are fine. Please post the ChangeLog entryThis is some feedback on tests run in C++0x mode with or without debug mode.
First failures without debug mode:
23_containers/vector/cons/4.cc 23_containers/deque/cons/2.cc
The code was calling vector and deque constructor taking a size.
Before C++0x it meant contruct N instances as the copy of a default
constructed instance. In C++0x it means contruct N default constructed
instance. I change the code to make copy constructor invocation explicit.
and send the patch to gcc-patches too. In principle it would be a good
idea to also add a testcase for the behavior mandated by C++0x in terms
of number of copies. At the time, I think I added C++0x testcases, but
only checking that default-constructible, non-copy-constructible types
are fine.
Attachment:
gnu++0x.patch
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |