Re: [boost] invalid access to stack memory?
11 Feb
2017
11 Feb
'17
11:46 a.m.
On 02/11/2017 08:47 AM, alexc via Boost wrote:
followed detail of the case, an object constructor store this pointer to a static variable. could it be a problem?
From a quick look at the code, I do not think that it poses a problem. The idea, as I understand it, is to use RAII to push and pop a "stack frame" (call_stack<T>::context) onto a thread-local static "stack" (call_stack<T>::top_.) The context destructor will remove itself from the "stack".
2846
Age (days ago)
2846
Last active (days ago)
0 comments
1 participants
participants (1)
-
Bjorn Reese