mirror of
https://github.com/unknownworlds/NS.git
synced 2024-12-04 10:12:28 +00:00
2f9f0c732e
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@277 67975925-1194-0748-b3d5-c16f83f1a3a1
13 lines
295 B
C++
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;
|
|
}
|