https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82632
--- Comment #1 from Barry Revzin <barry.revzin at gmail dot com> --- Actually, I'm pretty sure that gcc is correct here while this is a clang bug for rejecting. The copy deduction candidate is more specialized, which is preferred first over the deduction-guide.