Boost logo

Boost Users :

Subject: [Boost-users] flyweight: lazy initialization
From: Johannes Brunen (jbrunen_at_[hidden])
Date: 2010-02-23 10:01:45


Hello,

Is it possible to initialize a flyweight lazy or better on user request?
I have the problem that I have a custom allocator that is not ready to
run before main. Currently, the flyweight initialization is performed on
init of the fleiweight_core static_initilaizer member. This scheme does
outrule the usage of the flyweight utility in my application.

Any help would be appreciated.

Best,
Johannes

____________
Virus checked by G DATA AntiVirusKit
Version: AVF 19.736 from 21.02.2010
Virus news: www.antiviruslab.com


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net