NS/dev/performance-3.0.5/source/stlport/test/regression/tstdeq.cpp
2005-06-29 13:51:58 +00:00

13 lines
295 B
C++

#include <string>
#include <deque>
#include <iterator>
#include <iostream>
typedef std::string Str;
typedef std::deque<Str> Dq;
int insert1_test()
{
Str array1 [] = { "laurie", "jennifer", "leisa" };
Dq nam(array1, array1 + 3);
Dq::iterator i = nam.begin() + 2;
return 0;
}