$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Yuval Ronen (ronen_yuval_at_[hidden])
Date: 2006-12-13 14:53:15
Johan Råde wrote:
> ptree_implementation.h:
>
> 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.