> No. Py++ doesn't support boost::unordered containers.
>
> I have a luck to work with recent compilers, so they already have such
> functionality.
>
> If boost::unordered containers does not require tweaking to indexing
> suite v2, than it should not be too difficult to add support for them.

I confirm that this code compiles without problems:

boost::python::class_< std::map<std::string, int> >
("map_string_to_int")   
.def(boost::python::indexing::map_suite< std::map<std::string, int> >());

boost::python::class_< boost::unordered_map<std::string, int> >
("unordered_map_string_to_int")   
.def(boost::python::indexing::map_suite< boost:unordered_map<std::string, int> >());

Tested on VC2005


Ti piace giocare? Tre nuovi giochi Messenger per te!