On 01/29/2014 07:58 PM, Brian Budge wrote:
f_impl(std::forward<foo>(t));
You need to write std::forward<T> instead of std::forward<foo> to get the expected forwarding behavior.
Although I'm far from an expert with rvalue refs and universal refs, this seems like a bug to me. Thoughts?
What output do you expected instead? -- Florian Weimer / Red Hat Product Security Team