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

Howard Hinnant hhinnant at apple.com
Wed Aug 7 16:27:55 PDT 2013


On Aug 7, 2013, at 2:47 PM, Zhihao Yuan <lichray at gmail.com> wrote:

> On Wed, Aug 7, 2013 at 1:56 PM, Marshall Clow <mclow.lists at gmail.com> wrote:
>> I can apply your patch if you would like - but do you have any ideas for writing test cases?
> 
> Well, maybe we should place some tests for std::result_of first :)
> 
> Anyway, I'm sorry that I don't have the latest clang, so...
> 
> The `is_transparent` should be trivial, just -- does it worth?

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.

Howard




More information about the cfe-dev mailing list