Also, shared and weak pointers are now part of the C++ standard library, and before that, part of the TR1 extensions to the standard library.
Type: Posts; User: laserlight
Also, shared and weak pointers are now part of the C++ standard library, and before that, part of the TR1 extensions to the standard library.
Maybe what you could do is this: create a resource registry singleton. Whenever you want to access one of these resources, you pass whatever information is required to the registry, and receive a...
Are you trying to write a limited garbage collector, or something closer to a smart pointer?