Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. class Main
  2. {
  3. public:
  4.  
  5. template<typename T> class Field {
  6. public:
  7. CString name;
  8. bool state;
  9. T actualValue;
  10. };
  11.  
  12. vector<Field> m_Message;
  13. };
  14.  
  15. Field field1 = new Field();
  16. field1.actualValue = 1;
  17.  
  18. Field field2 = new Field();
  19. field2.actualValue = 1.1;
  20.  
  21. vector<Field> message;
  22.  
  23. message.push_back(field1);
  24. message.push_back(field2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement