Given a template class whose class type is constrained by a concept, if the deduction guide is written without that same constraint it will never be selected because it is always less specific. I suggest that this behavior is subtle and unexpected and should produce a warning.
Given a template class whose class type is constrained by a concept, if the deduction guide is written without that same constraint it will never be selected because it is always less specific. I suggest that this behavior is subtle and unexpected and should produce a warning.
Sample code:
https://godbolt.org/z/T79f164nW