home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
stl2vac.zip
/
STLport-4_5_3.zip
/
STLport-4.5.3
/
test
/
regression
/
tstdeq.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
2000-12-07
|
282b
|
14 lines
#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;
}