MCPcopy Create free account
hub / github.com/Extra-Creativity/Modern-Cpp-Basics / B

Class B

12-Advanced Template/Answer-code/Invoke.cpp:98–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96};
97
98class B
99{
100public:
101 int operator()(int param) const
102 {
103 std::println("Hi, {}", param);
104 return param + 1;
105 }
106};
107
108template<typename T>
109void ObjectTest(T &a)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected