genericopenlibs/cppstdlib/stl/test/compiler/movable.cpp
author Fionntina Carville <fionntinac@symbian.org>
Mon, 25 Oct 2010 16:12:48 +0100
branchRCL_3
changeset 76 c9f2a8896598
parent 0 e4d67989cc36
child 18 47c74d1534e1
permissions -rw-r--r--
Merge Bug 2603 and Bug 3123 plus move exports to rom/bld.inf

#include <list>
#include <vector>
#include <string>

using namespace std;

struct S :
    public string
{
};

void test()
{
  list<S> l;
  l.push_back( S() );

  vector<S> v;
  v.push_back( S() );
}