Type Qualifiers and Wild Cards

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Nov 8 13:39:39 PST 2011


On 11/8/11 1:45 PM, deadalnix wrote:
> 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.

There was discussion about it. That is a very old decision - it was made 
years before you joined this newsgroup.

> Especially, what are
> the points that made inout the « winning » solution ?

We felt it sits better. That particular subjective decision can be 
questioned, but there is little point to it right now.


Andrei


More information about the Digitalmars-d mailing list