immutable method not callable using argument types () - doesn't make sense
Daniel Donnelly
enjoysmath at gmail.com
Tue Mar 27 01:49:57 PDT 2012
The two solutions are:
inout(A) dup() inout { ... }
A dup() const { ... }
I'm using the latter. Basically all I need is to copy any
object: const, immut-, or mutable.
More information about the Digitalmars-d
mailing list