stl.rst
8.55 KB
-
Fix boost::variant example to not forward args · ebd6ad58
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.
Jason Rhinelander committed