We need to clarify if 'real' is the 'default floating point type' or not.

JMNorris nospam at nospam.com
Thu Mar 6 04:22:56 PST 2008


"Ameer Armaly" <ameer.armaly at furman.edu> wrote in
news:fqjl0e$2mi4$1 at digitalmars.com: 

> I don't know why I didn't think of this earlier: auto. If you want
> optimal int types, isn't that part of the  rationale behind type
> inference? 

I assume you're proposing a change in the way auto works.  Currently for:

    auto x = 5 < 7;

x has type bool.



More information about the Digitalmars-d mailing list