Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Child;
- class Parent {
- private:
- struct compareKey {
- bool operator()(char * const a, char * const b) {
- return memcmp(a, b, subKeyLength);
- }
- };
- std::map<const char*, Child, compareKey> children;
- public:
- Parent(size_t childKeyLength);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement