Oh ok. Thank you for this hint.
Do you use indexing suite, that comes with boost? If so, you need thisOn Sun, Dec 6, 2009 at 4:23 PM, Romain CHANU <firstname.lastname@example.org> wrote:
> I am using Py++ to generate the bindings for a C++ class using a vector of
> objects (i.e std::vector<MyObject>)
> I got this error:
> "the next line of code will not compile, because "::MyObject" does not have
> operator== !"
> Could anyone tell me why I need to define this boolean operator?
operator for "contains", "index" and other functionality.
You can switch to indexing suite v2 and than you will not have to
define the operator.
C++ Python language binding