.opAssign disabled without @disable
denizzzka via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Apr 16 08:41:04 PDT 2016
On Saturday, 16 April 2016 at 15:15:18 UTC, Alex Parrill wrote:
> Try removing the const from this line:
>
> debug private const bool isLeafNode = false;
>
> I suspect that D is disabling whole-structure assignment since
> allowing it would mean that the constant `isLeafNode` could be
> changed.
Tried - is no avail.
More information about the Digitalmars-d-learn
mailing list