| 7 | struct MyHandler { |
| 8 | bool Null() { cout << "Null()" << endl; return true; } |
| 9 | bool Bool(bool b) { cout << "Bool(" << boolalpha << b << ")" << endl; return true; } |
| 10 | bool Int(int i) { cout << "Int(" << i << ")" << endl; return true; } |
| 11 | bool Uint(unsigned u) { cout << "Uint(" << u << ")" << endl; return true; } |
| 12 | bool Int64(int64_t i) { cout << "Int64(" << i << ")" << endl; return true; } |