digitalmars.D - [dox]Hijacking Floating Point Literals
- Manfred Nowak (4/4) Sep 05 2013 According to lex.html `42.f' is a floating point literal.
- ponce (4/9) Sep 05 2013 42.f is no longer a valid floating-point literal, this is the new
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
Sep 05 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. -manfred42.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.
Sep 05 2013