Additional type information

Volodymyr via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 17 01:02:52 PDT 2015


On Monday, 16 March 2015 at 19:52:07 UTC, Marc Schütz wrote:

> `const` does, but `ref` doesn't. You can check that by 
> inserting `pragma(msg, typeof(x));` into the functions in your 
> example. But there's nevertheless overloading for `ref`.

Yeah... You are right, it is unclear and bad example :)
And the tags may change a type because they change some rules for 
the type.


More information about the Digitalmars-d mailing list