This thread is spiraling all over the place because I think people are making all kinds of assumptions about why the OP is asking this question. The OP needs to be clearer about what he is trying to do. The most likely things are
(1) The destructor is doing something it shouldn't be doing -- executing some logic that should be elsewhere.
(2) Local function scope is not the right scope for whatever is going on.
but without more information, who knows?
Show differencesHistory of post edits
#3jwezorek
Posted 29 January 2013 - 04:23 PM
This thread is spiraling all over the place because I think people are making all kinds of assumptions about why the OP is asking this question. The OP needs to be clearer about what he is trying to do. The most likely things are
(1) The destructor is doing something it shouldn't be doing -- exectuting some logic that should be elsewhere.
(2) Local function scope is not the right scope for whatever is going on.
but without more information, who knows?
(1) The destructor is doing something it shouldn't be doing -- exectuting some logic that should be elsewhere.
(2) Local function scope is not the right scope for whatever is going on.
but without more information, who knows?
#2jwezorek
Posted 29 January 2013 - 04:23 PM
This thread is spiraling all over the place because I think people are making all kinds of assumptions about why the OP is asking this question. The OP needs to be clearer about what he is trying to do. The most likely things are
(1) The destructor is doing something it shouldn't be doing -- execturing some logic that should be elsewhere.
(2) Local function scope is not the right scope for whatever is going on.
but without more information, who knows?
(1) The destructor is doing something it shouldn't be doing -- execturing some logic that should be elsewhere.
(2) Local function scope is not the right scope for whatever is going on.
but without more information, who knows?
#1jwezorek
Posted 29 January 2013 - 04:22 PM
This thread is spiraling all over the place because I think people are making all kinds of assumptions about why the OP is asking this question. The OP needs to be clearer about what he is trying to do. The most likely things are
(1) The destructor is doing something it shouldn't be doing -- execturing some logic that should be elsewhere.
(2) Local function scope is the wrong scope for some_class.
(1) The destructor is doing something it shouldn't be doing -- execturing some logic that should be elsewhere.
(2) Local function scope is the wrong scope for some_class.