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

SmartPtr::operator bool method

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

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

ReturnValue

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

См. также