ErrorPtr Class Reference 系统

#include <errorbase.h>

Inheritance diagram for ErrorPtr:

详细描述

Helper class used by iferr for the err variable. This is an indirect reference to an Error and it implements conversion functions to ErrorInterface* (for Cast<> in the error case).

公共成员函数

  operator Bool () const

私有成员函数

  operator Bool ()

成员函数文档编制

◆  operator Bool() [1/2]

operator Bool ( ) const
explicit

Checks if there is an error.

返回
True if this ErrorPtr contains an error, false otherwise.

◆  operator Bool() [2/2]

operator Bool ( )
explicit private