patch: new attribute enable_if

Nick Lewycky nicholas at
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!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: enable-if-1.patch
Type: text/x-patch
Size: 32435 bytes
Desc: not available
URL: <>

More information about the cfe-commits mailing list