Boost logo

Boost :

From: vicente.botet (vicente.botet_at_[hidden])
Date: 2008-01-27 16:41:23


Hi again

I surelly mis something from the standard C++. I'm asking what happens if we
declare static flyweight as

static flyweight<std::string> static_var1("safe_or_unsafe1");
static flyweight<std::string>::initializer fwinit;
static flyweight<std::string> static_var2("safe_or_unsafe2");

Which is the destruction order between static_var1, static_var2 and the
static holder of
flyweight<std::string>?

---------------------------
Vicente Juan Botet Escriba


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