genericopenlibs/cppstdlib/stl/test/compiler/movable.cpp
author William Roberts <williamr@symbian.org>
Sun, 14 Mar 2010 13:16:04 +0000
branchCompilerCompatibility
changeset 7 4af2d5a55d1a
parent 0 e4d67989cc36
child 18 47c74d1534e1
permissions -rw-r--r--
Automatic merge from PDK_3.0.h

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