struct Tool { static inline int foo() {} static inline int bar() {} }; int main() { Tool hammer; hammer::foo(); hammer::bar(); }