System::SmartPtr::operator bool метод

SmartPtr::operator bool method

Проверяет, что указатель не равен null.

System::SmartPtr<T>::operator bool() const noexcept

ReturnValue

Ложь, если указатель нулевой, иначе истина.

См. также