How to go from stl::map to dict #1021
Replies: 1 comment
-
You forgot to include the type caster header for variants. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to pass in a Python dict, and have it convert to a C++ map.
This was happening automatically with Pybind11.
Everything compiles, but I get the following error when trying to pass in a dict from python:
Is there anything I can do to get this working as seamlessly as possible?
Beta Was this translation helpful? Give feedback.
All reactions