Added comparison operators for class StrongPtr.
Fix for the WeakPtr class.