[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libcvd-members] gvars3 configure gvars...

From: Georg Klein
Subject: Re: [libcvd-members] gvars3 configure 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:


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.


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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]