Feature or bug: print braces

Dennis Ritchie via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed May 13 17:33:35 PDT 2015


Turns out that I can put into the function writeln almost any 
design language:

-----
import std.stdio;

void main() {
	writeln( { int n = 5; } );
}
-----
http://ideone.com/Rp7gZ2


More information about the Digitalmars-d-learn mailing list