keywords "objconst" and "objimmutable" vs. const(Object) ref
Andrej Mitrovic
andrej.mitrovich at gmail.com
Tue May 17 20:48:35 PDT 2011
So how do functions which take such a parameter look like?
void bar(ref Foo a, const(Foo) ref b) { }
or
void bar(ref Foo a, ref const(Foo) b) { }
More information about the Digitalmars-d
mailing list