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

zeljkog via Digitalmars-d digitalmars-d at puremagic.com
Sat Jan 17 02:32:47 PST 2015


On 17.01.15 09:33, 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 ?

I think it improves readability. A little :)
Often user don't care to read if-part.


More information about the Digitalmars-d mailing list