Disallowing the creation of objects using new should have default object functions and parent functions be @nogc by definition.
12345swordy
alexanderheistermann at gmail.com
Sat Mar 17 13:30:25 UTC 2018
It makes no sense otherwise. This logically implies that manual
memory management is required, yet there is a possibility that
the parent of the class may use the garbage collection. Which in
this case, it begs the question on why the GC is forbid in the
first place.
Does anyone dispute this?
More information about the Digitalmars-d
mailing list