4495766362
From-SVN: r23760
41 lines
665 B
C
41 lines
665 B
C
// PRMS Id: 8569
|
|
|
|
#include <iostream.h>
|
|
#include <vector>
|
|
|
|
using std::vector;
|
|
|
|
class Component {
|
|
int george;
|
|
char mabel[128];
|
|
};
|
|
class CopyMe {
|
|
public:
|
|
CopyMe(){;}
|
|
private:
|
|
vector<Component> strvec;
|
|
};
|
|
|
|
class IncludeIt {
|
|
public:
|
|
IncludeIt() {}
|
|
~IncludeIt() {}
|
|
IncludeIt(const IncludeIt& i) {
|
|
myStrvec = i.myStrvec;
|
|
}
|
|
IncludeIt& operator=(const IncludeIt& i) {
|
|
myStrvec = i.myStrvec;
|
|
}
|
|
private:
|
|
CopyMe myStrvec;
|
|
};
|
|
|
|
int main(int argc, char**argv) {
|
|
IncludeIt foo;
|
|
IncludeIt* bar;
|
|
exit(0);
|
|
}
|
|
|
|
template class std::__malloc_alloc_template<0>;
|
|
template class std::__default_alloc_template<false, 0>;
|