mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 00:34:39 +00:00
21 lines
200 B
C++
21 lines
200 B
C++
|
#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() );
|
||
|
}
|
||
|
|