ErrorPtr Class Reference

#include <errorbase.h>

Inheritance diagram for ErrorPtr:

Detailed Description

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).

Public Member Functions

 operator Bool () const

Private Member Functions

 operator Bool ()

Member Function Documentation

◆ operator Bool() [1/2]

operator Bool ( ) const

Checks if there is an error.

True if this ErrorPtr contains an error, false otherwise.

◆ operator Bool() [2/2]

operator Bool ( )