patch: new attribute enable_if

Nick Lewycky nicholas at mxc.ca
Sun Sep 22 03:24:04 PDT 2013


The attached patch adds a new attribute named "enable_if" which takes an 
expression and a string. At the call site, the arguments are substituted 
into the enable_if expression (which is written in terms of the 
parameters) to determine whether this function is a viable candidate.

Please review!

Nick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: enable-if-1.patch
Type: text/x-patch
Size: 32435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130922/5c6ef34b/attachment.bin>


More information about the cfe-commits mailing list