Re: [C++-sig] Is there anybody has idea about access the set from python?

2017-01-19 Thread Stefan Seefeld
On 18.01.2017 23:04, 奇真亦假 wrote: > It's strange that boost::python don't support boost::python::set. Indeed, a wrapper type for that is missing. Feel free to submit a patch. > Set is a very usable structure, so is there any idea about it? How to > convert a python::set to a std::set or any other

[C++-sig] Is there anybody has idea about access the set from python?

2017-01-19 Thread 奇真亦假
It's strange that boost::python don't support boost::python::set. Set is a very usable structure, so is there any idea about it? How to convert a python::set to a std::set or any other hash-able structure? Btw, how about boost::python::dict's performance? Does it implemented by hash-table? Thanks