Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Main
- {
- public:
- template<typename T> class Field {
- public:
- CString name;
- bool state;
- T actualValue;
- };
- vector<Field> m_Message;
- };
- Field field1 = new Field();
- field1.actualValue = 1;
- Field field2 = new Field();
- field2.actualValue = 1.1;
- vector<Field> message;
- message.push_back(field1);
- message.push_back(field2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement