|
From: | Georg Klein |
Subject: | Re: [libcvd-members] gvars3 Makefile.in configure configure.ac gvars... |
Date: | Thu, 21 Feb 2008 18:29:05 +0000 (GMT) |
On Thu, 21 Feb 2008, Edward Rosten wrote:
On Wed, 20 Feb 2008, Georg Klein wrote:Nice.The whole global-initialised-in-a-library thing does seem rather unsafe when other classes use it in a constructor!Try the latest patch. It's a combination of pimpl and singletons. It should make using GUI at any point safe.-Ed
Works for me! I don't get the point of the template trick here? Could just have instance() be a member function of GUI_impl, no? Also, the constructors of GUI_impl need to be protected for it to be a singleton.
[Prev in Thread] | Current Thread | [Next in Thread] |