Printing shortest decimal form of floating point number with Mir

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Mon Jan 4 22:55:28 UTC 2021


On Monday, 4 January 2021 at 22:14:12 UTC, welkam wrote:
> Anyway you want assign template name. Spoiler alert Bar!int is 
> not a name. It's also not a type or even an object. You might 
> used another term for how alias should work but I cant track 
> them all. Its template instantiation.

It is a name, e.g.:

alias BarInt = Bar!int;


"BarInt", "Bar!int" and "Foo!int" are all names, or labels, if 
you wish. And they all refer to the same object: the nominal 
type. Which you can test easily by using "is(BarInt==Foo!int)".


> When I got into personality types and typed myself I found out 
> that my type doesnt respect physical world and details.

Drop ad hominem. Argue the case.



More information about the Digitalmars-d-announce mailing list