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] PR 65340


On 03/17/2015 01:09 PM, Paolo Carlini wrote:
-  require_deduced_type (decl);
+  if (complain & tf_error)
+    require_deduced_type (decl);

I think we want to return false if there's a problem here so that we don't just silently accept this in SFINAE context. So probably we want to replace the call with an inlined form like earlier in mark_used.

Are there other places that still need to pass complain to mark_used?

Jason


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