genericopenlibs/cppstdlib/stl/test/compiler/movable.cpp
author William Roberts <williamr@symbian.org>
Fri, 02 Apr 2010 10:28:35 +0100
branchRCL_3
changeset 16 541f844fab81
parent 0 e4d67989cc36
child 18 47c74d1534e1
permissions -rw-r--r--
Updated fix for Bug 2109, to include the new /openc_signalserver_stub.sis

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