
1 Sep
2011
1 Sep
'11
5:36 a.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