first commit
This commit is contained in:
20
extern/STLport/5.2.1/test/compiler/movable.cpp
vendored
Normal file
20
extern/STLport/5.2.1/test/compiler/movable.cpp
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
#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() );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user