https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122032
Tomasz Kamiński <tkaminsk at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tkaminsk at gcc dot gnu.org
--- Comment #3 from Tomasz Kamiński <tkaminsk at gcc dot gnu.org> ---
I think there is real non-conformance problem here, with using lambda. Per
https://eel.is/c++draft/func.require#8, b1 and b2 are required to have same
type:
void f(std::string);
std::string s;
auto b1 = std::bind_front<f>(s);
auto b2 = std::bind_front<f>(std::move(s));
But currently they don't: https://godbolt.org/z/4E4nnYjaG