1
#include <list>
2
#include <vector>
3
#include <string>
4
5
using namespace std;
6
7
struct S :
8
public string
9
{
10
};
11
12
void test()
13
14
list<S> l;
15
l.push_back( S() );
16
17
vector<S> v;
18
v.push_back( S() );
19
}
20