22 Jan
2007
22 Jan
'07
10:50 p.m.
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Ovanes Markarian
I might be wrong here, but I would like to hear some thoughts of C++ professionals.
I read in lots of sources about DCLP and how it is broken in conjunction with Singleton pattern and my question is of a very simple nature. Is it possible to solve this problem by introducing function calls via function pointers? Or is there still a way, that these calls might be inlined and if yes then how could this look like? This example is not about freeing the singleton, it is just about creating it.
Hi, Perhaps the path-of-least-debugging is to use boost::once? Sohail