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