"git@developer.sourcefind.cn:gaoqiong/pybind11.git" did not exist on "5afe9df30a07d65fd4706d5ded8d5a13902e38ba"
Fix boost::variant example to not forward args
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.
Showing
Please register or sign in to comment