From: Boost-users On Behalf Of Joaquin M López Muñoz via Boost-users
Sent: donderdag 25 februari 2021 13:52
...
El 25/02/2021 a las 12:44, Andreas Buykx via Boost-users escribió:
From: Boost-users mailto:boost-users-bounces@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?
[Andreas Buykx] Yes it did. Thanks a lot for your help.