post qualifier and template constraint limitation, is there a reason ?

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sat Jan 17 13:15:42 PST 2015


On 1/17/2015 8:56 AM, deadalnix wrote:
> On Saturday, 17 January 2015 at 10:05:29 UTC, Walter Bright wrote:
>> On 1/17/2015 12:33 AM, deadalnix wrote:
>>> This is accepted :
>>> auto fun(T)(T T) inout if(...) { ... }
>>>
>>> This is not :
>>> auto fun(T)(T T) if(...) inout { ... }
>>>
>>> Is there a reason ?
>>
>> There was no known reason to.
>
> Is that possible to make it work then ? Should I open a bug ?

Sure, but you'll need a rationale that is better than "why not" :-)


More information about the Digitalmars-d mailing list