new T[size] vs .reserve

Namespace rswhite4 at googlemail.com
Sat Feb 2 10:53:40 PST 2013


> Are you uncomfortable, because it may allocate twice as much 
> space
> as you need (for bigger color_data)?

Yes, that's the point.
Sorry, I cannot express myself very well in English.


More information about the Digitalmars-d-learn mailing list