ROSE  0.11.96.11
Public Types | Public Member Functions | List of all members
Sawyer::Error< E > Class Template Reference

Description

template<class E>
class Sawyer::Error< E >

Error value.

Definition at line 132 of file Result.h.

#include <Result.h>

Public Types

using Value = E
 

Public Member Functions

 Error (const Error &other)
 Copy constructor.
 
 Error (const E &error)
 Construct from a value.
 
const Value & operator* () const
 Dereference to obtain error.
 
const Value * operator-> () const
 Dereference to obtain pointer to error.
 
Erroroperator= (const Error &other)
 Assignment.
 
Erroroperator= (const Value &error)
 Assignment.
 

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