From: Yuval Ronen (ronen_yuval_at_[hidden])
Date: 2006-12-13 14:53:15
Johan Råde wrote:
> template<class Ptree>
> inline const Ptree &empty_ptree()
> static Ptree pt;
> return pt;
> Would it be possible to remove the static variables from the ptree code?
> That would make it safe to use ptree during the static destruction phase.
Considering the fact that construction of static variables like this is
not thread-safe, this even more important.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk