OptionalScopedPointer shouldDelete accessor request


Hi Jules, would it be possible to add an accessor to OptionalScopedPointer so I can find out if I have ownership of the object. At the moment I’m having to keep an extra flag which defeats the purpose of using an OptionalScopedPointer. I need to know as there is some additional shutdown involved if I own the object.



Sure, I’ll add that.