Best way to reference an array in a child class...
    Steven Schveighoffer 
    schveiguy at yahoo.com
       
    Thu Mar  6 12:03:40 PST 2014
    
    
  
On Thu, 06 Mar 2014 15:02:14 -0500, Steven Schveighoffer  
<schveiguy at yahoo.com> wrote:
> Second, it's very difficult to get an array, just by itself, in the  
> heap. And you don't want to store a reference to a stack-frame slice.
Sorry, I meant an array *reference*, not an array. Clearly allocating an  
array in the heap is easy, but allocating a pointer to an array is not :)
-Steve
    
    
More information about the Digitalmars-d-learn
mailing list