copy constructors need documentation
Olivier FAURE
couteaubleu at gmail.com
Tue Aug 6 16:20:24 UTC 2019
On Tuesday, 6 August 2019 at 09:42:09 UTC, John Colvin wrote:
> Can you not just write trivial constructors (or no constructor,
> if struct literals are good enough for the case in question)
> and then use factory functions if you want behaviour like that?
Let met try it...
Oh yeah, actually you can. D even does return value copy elision
and everything.
More information about the Digitalmars-d
mailing list