This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/dm/stlport/test/regression/tstdeq.cpp

14 lines
282 B
C++
Raw Normal View History

#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;
}