Allocating on the heap or on the stack - Are there any thumb rules?
Posted
by eriks
on Stack Overflow
See other posts from Stack Overflow
or by eriks
Published on 2010-03-21T17:47:08Z
Indexed on
2010/03/21
17:51 UTC
Read the original article
Hit count: 395
c++
I am looking for some simple rules to know if i should allocate objects on the heap (using new) or on the stack.
(I hope this question is OK :) )
© Stack Overflow or respective owner