RResult<void> has no data member and no Get() method but instead a Success() factory method.
Definition at line 227 of file RError.hxx.
Public Member Functions | |
RResult (const RResult &other)=delete | |
RResult (RError &&error) | |
RResult (RResult &&other)=default | |
~RResult ()=default | |
operator bool () | |
RResult & | operator= (const RResult &other)=delete |
RResult & | operator= (RResult &&other)=default |
![]() | |
RResultBase (const RResultBase &other)=delete | |
RResultBase (RResultBase &&other)=default | |
~RResultBase () noexcept(false) | |
RError * | GetError () |
void * | operator new (std::size_t size)=delete |
void * | operator new (std::size_t, void *)=delete |
void * | operator new[] (std::size_t)=delete |
void * | operator new[] (std::size_t, void *)=delete |
RResultBase & | operator= (const RResultBase &other)=delete |
RResultBase & | operator= (RResultBase &&other)=default |
void | Throw () |
Throws an RException with fError. More... | |
Static Public Member Functions | |
static RResult & | Forward (RResult &result, RError::RLocation &&sourceLocation) |
Used by R__FORWARD_RESULT in order to keep track of the stack trace in case of errors. More... | |
static RResult | Success () |
Returns a RResult<void> that captures the successful execution of the function. More... | |
Private Member Functions | |
RResult ()=default | |
Additional Inherited Members | |
![]() | |
RResultBase ()=default | |
RResultBase (RError &&error) | |
bool | Check () |
Used by the RResult<T> bool operator. More... | |
![]() | |
std::unique_ptr< RError > | fError |
This is the nullptr for an RResult representing success. More... | |
bool | fIsChecked {false} |
Switches to true once the user of an RResult object checks the object status. More... | |
#include <ROOT/RError.hxx>
|
privatedefault |
|
inline |
Definition at line 234 of file RError.hxx.
|
delete |
|
default |
|
default |
|
inlinestatic |
Used by R__FORWARD_RESULT in order to keep track of the stack trace in case of errors.
Definition at line 244 of file RError.hxx.
|
inlineexplicit |
Definition at line 250 of file RError.hxx.
|
delete |
|
default |
|
inlinestatic |
Returns a RResult<void> that captures the successful execution of the function.
Definition at line 233 of file RError.hxx.