System::SmartPtr::operator bool メソッド

SmartPtr::operator bool method

ポインタが null でないかどうかをチェックします。

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

ReturnValue

ポインタが null の場合は false、そうでない場合は true。

参照