mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-03-22 02:13:43 +08:00
boost::apply_visitor accepts its arguments by non-const lvalue reference, which fails to bind to an rvalue reference. Change the example to remove the argument forwarding.