Copy/move break invariants (move could be fixed).
Node/Tree should have no public constructors, they're abstract.
Destructor is private to enforce arena allocation.
(Making the constructor of all subclasses private doesn't seem worthwhile)
Differential D90163
[Syntax] Disallow invalid Node operations sammccall on Oct 26 2020, 8:44 AM. Authored by
Details Copy/move break invariants (move could be fixed). (Making the constructor of all subclasses private doesn't seem worthwhile)
Diff Detail
|