mirror of
https://github.com/unknownworlds/NS.git
synced 2024-11-15 09:11:55 +00:00
8552ac617c
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@1 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;
|
|
}
|