Advertisement
Guest User

Untitled

a guest
May 26th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. class Child;
  2. class Parent {
  3. private:
  4. struct compareKey {
  5. bool operator()(char * const a, char * const b) {
  6. return memcmp(a, b, subKeyLength);
  7. }
  8. };
  9. std::map<const char*, Child, compareKey> children;
  10.  
  11. public:
  12. Parent(size_t childKeyLength);
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement