Arrays of noncopyables/Invalid memory operation

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Feb 17 17:19:16 PST 2016


On 02/17/2016 05:14 PM, ZombineDev wrote:

 > The "Invalid memory operation" error is thrown only by the GC (AFAIK)
 > when the user tries something unsupported like allocating or freeing in
 > a destructor, while a GC collection is being run.

That. The problem is when the assert check fails (for value==60). The GC 
fails to create the exception object.

Ali



More information about the Digitalmars-d-learn mailing list