genericopenlibs/cppstdlib/stl/test/compiler/movable.cpp
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:36:54 +0100
branchRCL_3
changeset 57 2efc27d87e1c
parent 0 e4d67989cc36
child 18 47c74d1534e1
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201021 Kit: 201035

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