C++ static constructors and SMP
Stephen Tether
tether at slac.stanford.edu
Wed Oct 23 04:37:32 UTC 2013
On 10/22/13 5:36 PM, Ralf Corsepius wrote:
> Are sure not to be hit by
> http://www.parashift.com/c++-faq/static-init-order.html ?
An infamous C++ gotcha! No, it's clearly a case of the wrong ordering of
constructor vs. member function calls for the *same* object instance. We
recorded the value of the global timer, the object address and sundry
other info for both constructor and member function calls.
Thanks, guys, for your responses.
- Steve
More information about the devel
mailing list