-
June 19th, 2019, 05:44 AM
#1
CStringList on heap
If I have a class member as CStringList with a lot of elements, is worth it to create it on heap (with new), or is enough to create it on stack ?
-
June 19th, 2019, 06:55 AM
#2
Re: CStringList on heap
Create it "on stack" is OK. All its elements will be created in the heap just "by design".
Victor Nijegorodov
-
June 20th, 2019, 12:49 AM
#3
Re: CStringList on heap
Ok, thank you. The same is the case with CArray / CMap ?
-
June 20th, 2019, 01:15 AM
#4
Re: CStringList on heap
Victor Nijegorodov
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|