Type Qualifiers and Wild Cards

deadalnix deadalnix at gmail.com
Tue Nov 8 11:45:39 PST 2011


Le 08/11/2011 20:33, Andrei Alexandrescu a écrit :
> On 11/8/11 10:42 AM, so wrote:
>> On Tue, 08 Nov 2011 16:39:35 +0200, so <so at so.so> wrote:
>>
>>> auto fun(return(type) a, ...)
>>> return(T) fun(return(S) a, ...)
>>
>> Damn, nobody likes it, and i was expecting at least a nobel prize on
>> math.
>
> If it makes you feel better, this was on the table. We settled for
> inout. It's water under the bridge. Let's not waste time on this.
>
> Andrei

You should definitively communicate more on that. Especially, what are 
the points that made inout the « winning » solution ?


More information about the Digitalmars-d mailing list