
31 Aug
2011
31 Aug
'11
11:36 p.m.
On 01/09/2011 2:14, Julien Nitard wrote:
Out of curiosity, would a static member function with a static variable solve that kind of issue ? (Let's forget potential threading issues mentioned in the Singularity discussion).
It can't, you will end up with a different function static variable for each translation unit. Agustín K-ballo Bergé.- http://talesofcpp.blogspot.com