This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH,committed] Fix PR17344 (missing tf_error check in coerce_template_parms)


Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> wrote:

> we can deduce 'X' to 'A' (with current GCC template template parameter
> matching) and proceed to check if 'A<void>' is valid.  However the
> default argument 'intTraits<void>::i' in 'A<void>' fails the condition

So, am I right to believe that such a situation would never happen under a
standard ISO C++ compiler? If your patch only affects testcases which use our
extension on template template parameter matching, we are pretty much free to
do whatever we want.

Giovanni Bajo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]