I count it to destroy it if it isn't used anymore.I can remove this behaviour but IMO with this you haven't unnecessary use of stack memory. Am I wrong? Furthermore, if I copy the stack object e.g. if I pass it as value parameter to another function/class, I can store it as long as it's needed. Maybe that should be the task of the heap, but I'm not sure.
- move object from heap to stack Namespace
- Re: move object from heap to stack Namespace
- Re: move object from heap to stack Simen Kjaeraas
- Re: move object from heap to stack Namespace
- Re: move object from heap to stack monarch_dodra
- Re: move object from heap to stack Namespace
- Re: move object from heap to stack Namespace
- Re: move object from heap to stac... monarch_dodra
- Re: move object from heap to ... Namespace
- Re: move object from heap to ... monarch_dodra
- Re: move object from heap to ... monarch_dodra
- Re: move object from heap to ... Johannes Pfau
- Re: move object from heap to ... Namespace
- Re: move object from heap to ... monarch_dodra
- Re: move object from heap to ... Namespace
- Re: move object from heap to ... monarch_dodra
- Re: move object from heap to ... Namespace
- Re: move object from heap to ... monarch_dodra
- Re: move object from heap to ... Namespace