MCPcopy Create free account
hub / github.com/c42f/tinyformat / MyInt

Class MyInt

tinyformat_test.cpp:91–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89
90
91struct MyInt {
92public:
93 MyInt(int value) : m_value(value) {}
94 int value() const { return m_value; }
95private:
96 int m_value;
97};
98
99std::ostream& operator<<(std::ostream& os, const MyInt& obj) {
100 os << obj.value();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected