15 lines
301 B
C
15 lines
301 B
C
|
#ifndef MYTYPE_H
|
||
|
#define MYTYPE_H
|
||
|
#include <string>
|
||
|
struct MyType{
|
||
|
std::string name;
|
||
|
unsigned age;
|
||
|
|
||
|
MyType(std::string n, unsigned a);
|
||
|
~MyType();
|
||
|
MyType(const MyType &t);
|
||
|
MyType& operator= (const MyType &t);
|
||
|
MyType(MyType &&t);
|
||
|
MyType& operator= (MyType &&t);
|
||
|
};
|
||
|
#endif
|