UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TValueOrError< void, void > Class Reference

#include <ValueOrError.h>

Public Member Functions

 TValueOrError (TValueOrError_ValueProxy<> &&Proxy)
 
 TValueOrError (TValueOrError_ErrorProxy<> &&Proxy)
 
UE_REWRITE bool HasError () const
 
UE_REWRITE bool HasValue () const
 

Constructor & Destructor Documentation

◆ TValueOrError() [1/2]

Construct the value from a proxy from MakeValue.

◆ TValueOrError() [2/2]

Construct the error from a proxy from MakeError.

Member Function Documentation

◆ HasError()

UE_REWRITE bool TValueOrError< void, void >::HasError ( ) const
inline

Whether the error is set. An error does imply no value.

◆ HasValue()

UE_REWRITE bool TValueOrError< void, void >::HasValue ( ) const
inline

Whether the value is set. A value does imply no error.


The documentation for this class was generated from the following file: