home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / stlpt453.zip / STLport-4.5.3 / test / regression / tstdeq.cpp < prev    next >
C/C++ Source or Header  |  2000-12-07  |  282b  |  14 lines

  1. #include <string>
  2. #include <deque>
  3. #include <iterator>
  4. #include <iostream>
  5. typedef std::string Str;
  6. typedef std::deque<Str> Dq;
  7. int insert1_test()
  8. {
  9.   Str array1 [] = { "laurie", "jennifer", "leisa" };
  10.   Dq nam(array1, array1 + 3);
  11.   Dq::iterator i = nam.begin() + 2;
  12.   return 0;
  13. }
  14.