quote:Original post by msn12b
Singleton is a hack. It causes the exact same problem it tries to solve.
The implementation is particularily problematic in C++. In other environments, it''s not so hairy.
quote:Original post by msn12b
Singleton is a hack. It causes the exact same problem it tries to solve.
quote:Original post by Magmai Kai Holmlorquote:
Loki::SingletonHolder does provide a semi-thread safe policy, though it does have defects.
How so?
quote:Original post by Magmai Kai Holmlorquote:Original post by msn12b
Singleton is a hack. It causes the exact same problem it tries to solve.
The implementation is particularily problematic in C++. In other environments, it''s not so hairy.