Question on Container Array.

Vino.B vino.bheeman at hotmail.com
Mon Sep 18 11:47:07 UTC 2017


Hi All,

   Can some one explain me on the below question.

Q1: void main (Array!string args) : Why can't we use container 
array in void main?

Q2: What is the difference between the below?
insert, insertBack
stableInsert, stableInsertBack
linearInsert, stableLinearInsert, stableLinearInsert

Q3: Storing the data in a container array store's the data in 
memory which is managed by malloc/free, where as operation such 
as appending data using any of the above nor "~=" is managed by 
gc, is my understanding correct.


From,
Vino.B




More information about the Digitalmars-d-learn mailing list