On Wednesday, 19 September 2018 at 00:05:15 UTC, Jonathan M Davis wrote:
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

Well one breaks compilation and the other is silent code changes. And No.compilerSwitch > Yes.compilerSwitch when possible.

I'm actually not strongly for @implicit btw.

Reply via email to