On Wednesday, 15 April 2015 at 14:44:48 UTC, Idan Arye wrote:
import std.stdio;struct Foo { bool registered = false; void register(int x) { writeln("Registering ", x); register = true; } } void main() { Foo foo; foo.register(10); }
register = true
On Wednesday, 15 April 2015 at 14:44:48 UTC, Idan Arye wrote:
import std.stdio;struct Foo { bool registered = false; void register(int x) { writeln("Registering ", x); register = true; } } void main() { Foo foo; foo.register(10); }
register = true