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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
             Status|UNCONFIRMED                 |RESOLVED
            Version|unknown                     |6.3.0
         Resolution|---                         |DUPLICATE

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This isn't a problem with std::bind, but converting a function template into a
pointer:

template<typename F> void bind(F) { }

template <typename T>
auto anonymousWrap() {
    return T();
};

int main() {
  bind(anonymousWrap<int>);
}

This is a dup of Bug 64194

*** This bug has been marked as a duplicate of bug 64194 ***

Reply via email to