in reply to Avoiding global object handle
As per suggestion above, I have read up on Singleton. This proved to be very interesting reading indeed.
"The instance() method is used to create a new Class::Singleton instance, or return a reference to an existing instance. Using this method, it is only possible to have a single instance of the class in any system."
But it is not the solution to my situation. I want the object to exist in one instance per application within the system. Not one instance per system.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Avoiding global object handle
by jeffenstein (Hermit) on Mar 27, 2002 at 07:22 UTC |