[PATCH] [libc++] Check the support of default function template args.

Logan Chien tzuhsiang.chien at gmail.com
Mon Dec 23 16:03:56 PST 2013


Ping.


On Fri, Dec 20, 2013 at 10:53 PM, Logan Chien <tzuhsiang.chien at gmail.com>wrote:

> Ping.  Any further comments?
>
> This patch tries to reduce the usage of the default function template
> arguments, which is not supported in pre-C++0x.  Without this change, we
> will get compilation error from g++ if we tries to include libc++ headers
> in pre-C++0x mode.
>
> To remove the usage of default function template arguments, the patch
> moves the enable_if<> to return type or the function argument types.  This
> pattern is used in the other code of libc++ as well.
>
> Please let me know if you have any comments.  Thanks.
>
> Sincerely,
> Logan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131224/2888cb5d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Remove-default-function-template-argument-from-the-h.patch
Type: text/x-diff
Size: 13590 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131224/2888cb5d/attachment.patch>


More information about the cfe-commits mailing list