[Bug libstdc++/66284] std::reference_wrapper is transparent to std::function::target_type

potswa at mac dot com gcc-bugzilla@gcc.gnu.org
Thu Oct 13 16:53:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66284

--- Comment #3 from David Krauss <potswa at mac dot com> ---
… Woops, that f is the function parameter, not the target. So it's not a
conflicting requirement, but it could be a template for fixing the the copy
constructor constraint.


More information about the Gcc-bugs mailing list