ENH: explicit convert to bool operator for autoPtr
- behaves the same as the valid() method, but can be queried directly like a normal raw pointer and as per std::unique_ptr. Eg, autoPtr<T> ptr = ... if (ptr) ...
Please register or sign in to comment