Boost logo

Boost Users :

From: Jeff Holle (jeff.holle_at_[hidden])
Date: 2004-01-26 15:16:11


I am successfully using vector_indexing_suite in following code:

    class_<std::vector<B> >("vector_B")
        .def(vector_indexing_suite<std::vector<B> >())
        ;

However, I find that it requires that the B class conforms to the
Equality Comparable concept where the STL standard only demands it to
conform to the Assignable concept.

I'm wondering if this is necessary, and if so how the operator== method
should be coded.
Can it simply always return true or false?
Or compare "this" pointers?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net