Commit ebd6ad58 authored by Jason Rhinelander's avatar Jason Rhinelander
Browse files

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.
parent 391c7544
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment