59 if(ival == aclass.
ival)
return true;
66 return ostr << aclass.
GetIVal();
71 #include <boost/python.hpp> 77 class_<AClass>(
"AClass",
"a class")
84 .def(self_ns::str(
self))
std::ostream & operator<<(std::ostream &ostr, const AClass &aclass)
AClass & operator+=(const AClass &aclass)
BOOST_PYTHON_MODULE(test09)
AClass operator+(const AClass &aclass)
bool operator==(const AClass &aclass) const