MCPcopy Create free account
hub / github.com/ChunelFeng/CThreadPool / MyFunction

Class MyFunction

MyFunction.h:22–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21
22class MyFunction {
23public:
24 std::string concat(std::string& str) const {
25 return info_ + str;
26 }
27
28 static int multiply(int i, int j) {
29 return i * j;
30 }
31
32private:
33 std::string info_ = "MyFunction : ";
34};
35
36#endif //CGRAPH_MYFUNCTION_H

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected