Advertisement
Guest User

Untitled

a guest
Feb 5th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1. struct Dictionary;
  2. typedef std::shared_ptr<Trie> pDictionary;
  3.  
  4. template <class T>
  5. struct Dictionary
  6. {
  7.     std::string id;
  8.     T* data;
  9.    
  10.     std::unordered_map<std::string, pDictionary> children;
  11. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement