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: Bugs in gcc 4.4 experimental c++0x libstdc++?


2008/5/15 Sebastian Redl <sebastian.redl@getdesigned.at>:

> Do you have a test case?

There is a simple test case attached which fails in the assertion.
#include <vector>
#include <cassert>


int main(int argc, char * argv[])
{
	using namespace std;

	vector<int> v;
	v.push_back(3, 2, 4, 5, 8, 6);

	assert(v.size() == 6);
}

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