MCPcopy Create free account
hub / github.com/TNG/boost-python-examples / repr

Method repr

07-Operators/operators.cpp:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 return s.str();
18 }
19 std::string repr() const
20 {
21 std::stringstream s;
22 s << "NumberLike("<< mN << ")";
23 return s.str();
24 }
25private:
26 int mN;
27};

Callers

nothing calls this directly

Calls 1

strMethod · 0.80

Tested by

no test coverage detected