[cfe-dev] [libc++] c++14 return type deduction usage should be limited

Zhihao Yuan lichray at gmail.com
Wed Aug 7 19:37:54 PDT 2013


On Wed, Aug 7, 2013 at 7:27 PM, Howard Hinnant <hhinnant at apple.com> wrote:
> I'd like to hold off on the is_transparent until we get a full implementation of N3657.  Only then will we know for sure what unspecified type we really want is_transparent to be.  And if we put it in prior to that as some other type, it is possible we will needlessly break someone's code.

I'm pretty sure that the typedef is nothing but a tag for SFINAE.
You can take a look at the file attached, which works with
my patch applied.  And you consider to use it in libc++ tests
if we plan to merge the patch :)


-- 
Zhihao Yuan, ID lichray
The best way to predict the future is to invent it.
___________________________________________________
4BSD -- http://4bsd.biz/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.cc
Type: application/octet-stream
Size: 1349 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130807/c887d9c6/attachment.obj>


More information about the cfe-dev mailing list