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
explicit

Checks if there is an error.

Returns
True if this ErrorPtr contains an error, false otherwise.

◆ operator Bool() [2/2]

operator Bool ( )
explicitprivate