El 25/02/2021 a las 12:44, Andreas Buykx via Boost-users escribió:
*From:*Boost-users <boost-users-boun...@lists.boost.org> *On Behalf Of
*Joaquin M López Muñoz via Boost-users
*Sent:* zaterdag 20 februari 2021 16:22
…
El 19/02/2021 a las 16:54, Andreas Buykx via Boost-users escribió:
…
Also, is it possible to have nested flyweights (when they are
wrapped by accessor classes)?
And would that cause any additional problems in the above scenario?
I don't see any problem with that.
*/[Andreas Buykx] /*
*/One thing to be aware of though is that
boost::flyweight<nested>::init() must be called before creating the
first nesting flyweight. This way you make sure that at program exit
the nesting flyweight’s static data structures are destroyed before
the nested flyweight’s static data structures. /*
Yes, exactly. Did this solve your problem?
Joaquín M López Muñoz
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users