[dox]Hijacking Floating Point Literals

ponce contact at spam.spamlord.org
Thu Sep 5 02:32:08 PDT 2013


On Thursday, 5 September 2013 at 08:38:22 UTC, Manfred Nowak 
wrote:
> According to lex.html `42.f' is a floating point literal.
>
> Sorrily this changes if function `f' with siganture `auto f( 
> int)' is
> declared and scopes intersect.
>
> -manfred

42.f is no longer a valid floating-point literal, this is the new 
choosen behaviour since UFCS. So lex.html is probably out-of-date.


More information about the Digitalmars-d mailing list