mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-26 23:22:01 +00:00
94d0a9f7bc
Currently, `py::int_(1).cast<variant<double, int>>()` fills the `double` slot of the variant. This commit switches the loader to a 2-pass scheme in order to correctly fill the `int` slot. |
||
---|---|---|
.. | ||
pybind11 |