Allocating a class within another class during object init w/o passing in an allocator

David Zhang via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Dec 15 12:51:47 PST 2016


Thank you for your responses. Visitor, I don't want any reference 
to an allocator within the class if I can avoid it. ag0aep6g, 
thanks! That's what I was looking for. However, it leaves me with 
another question, how much (if any) space would the static array 
require from the class? It's not a strict necessity for me, but 
I'm curious.


More information about the Digitalmars-d-learn mailing list