libpy icon indicating copy to clipboard operation
libpy copied to clipboard

Consider adding optional headers for abseil

Open gerrymanoim opened this issue 6 years ago • 3 comments

#include <libpy/abseil_support.h> if you were using abseil, but otherwise unused.

Any other libs to support?

gerrymanoim avatar Jun 26 '20 20:06 gerrymanoim

It might be worth adding support for some of the Boost containers. I think that we should add a section on the docs showing py::dispatch::map_to_object (and some of the other helpers) to add a to_object adapter to arbitrary mapping types.

llllllllll avatar Jun 26 '20 20:06 llllllllll

We should also deal with sparsehash, make it optional and add it to a similar _support.h header.

gerrymanoim avatar Jun 26 '20 20:06 gerrymanoim

Maybe we should have a library_converters dir like: library_converters/abseil.h and library_converters/sparsehash.h.

llllllllll avatar Jun 26 '20 20:06 llllllllll