Copy Constructor DIP and implementation

Jonathan M Davis newsgroup.d at jmdavisprog.com
Wed Sep 19 00:05:15 UTC 2018


On Tuesday, September 18, 2018 10:58:39 AM MDT aliak via Digitalmars-d-
announce wrote:
> This will break compilation of current code that has an explicit
> copy constructor, and the fix is simply to add the attribute
> @implicit.

In that case, why not just use a transitional compiler switch? Why force
everyone to mark their copy constructors with @implicit forever? The whole
point of adding the attribute was to avoid breaking existing code.

- Jonathan M Davis





More information about the Digitalmars-d-announce mailing list