// P0892R2 // { dg-do compile } // { dg-options "-std=c++2a" } template struct A { template explicit(N) operator T(); }; template struct B { template explicit(N) operator T(); }; void bar () { A a; int i = a; B b; int j = b; // { dg-error "cannot convert" } }