13 years, 7 months ago
Highlights
Yes, you should use automatic (stack) lifetimes where possible, and heap lifetimes where you have to. n.b. with your example of using new, it returns a pointer to an object (in…
13 years, 7 months ago
13 years, 7 months ago
Hello. I'm working as java programmer and just now starting to learn c++ and irrlicht (want to create games as a hobby ;) ). I am completely confused by stack vs heap iss…
13 years, 7 months ago
About shared_ptr. I read now that that Bjarne consider this as bad idea and this is considered as bad c++ design pattern. Anyone can put some light on this. About unique_pt…
13 years, 7 months ago
13 years, 7 months ago
Latest Activity
See all in DiscussionsYes, you should use automatic (stack) lifetimes where possible, and heap lifetimes where you have to. n.b. with your example …
13 years, 7 months ago
About shared_ptr. I read now that that Bjarne consider this as bad idea and this is considered as bad c++ design …
13 years, 7 months ago
Furthermore, stack memory should be avoided when dealing with large sets of data since most operating systems gives a limit …
13 years, 7 months ago