C++ PATCH to implement SFINAE for non-constant template arguments

Jason Merrill jason@redhat.com
Mon Sep 6 04:47:00 GMT 2010


In certain cases, an expression that seems like an integer constant 
expression turns out not to have a constant value; in the deduction 
context such a template argument should cause deduction to fail, not 
give an error.

Tested x86_64-pc-linux-gnu, applied to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: targ-sfinae.patch
Type: text/x-patch
Size: 6801 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100906/a4b97aef/attachment.bin>


More information about the Gcc-patches mailing list