genericopenlibs/cppstdlib/stl/test/compiler/movable.cpp
author Brendan Donegan <brendand@symbian.org>
Thu, 29 Apr 2010 14:59:41 +0100
branchRCL_3
changeset 29 3520f1ef6bf6
parent 0 e4d67989cc36
child 18 47c74d1534e1
permissions -rw-r--r--
Fix for Bug 2603 - OpenEnv CIniData does not understand Unix line endings

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