| 2 | #include <sstream> |
| 3 | |
| 4 | struct Ctor |
| 5 | { |
| 6 | Ctor(std::string msg) : mMsg(msg) {} |
| 7 | Ctor(double x,double y) |
| 8 | { |
| 9 | std::stringstream os; |
| 10 | os << x << ":" << y << std::ends; |
| 11 | set(os.str()); |
| 12 | } |
| 13 | void set(std::string msg) { mMsg = msg; } |
| 14 | std::string greet() { return mMsg; } |
| 15 | std::string mMsg; |
| 16 | }; |
| 17 | |
| 18 | #include <boost/python.hpp> |
| 19 | using namespace boost::python; |
nothing calls this directly
no outgoing calls
no test coverage detected