Boost logo

Boost :

Subject: Re: [boost] [any] new version
From: Agustín K-ballo Bergé (kaballo86_at_[hidden])
Date: 2011-09-01 01:36:49


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk