
20 Nov
2008
20 Nov
'08
4:26 p.m.
On Thu, Nov 20, 2008 at 8:16 AM, J.D. Herron <jotadehace@gmail.com> wrote:
Thanks for your suggestion. I've used this strategy for other things but it just seems like an awful lot of trouble for something I would like to just act like a raw pointer.
I think that this is the only viable strategy because for good reasons shared_ptr (including std::shared_ptr) leaves this type of things unspecified (not to mention DLLs are outside of the scope of the C++ standard anyway.) Also, the user is completely insulated from the "awful lot of trouble" you're talking about. Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode