template<class T>
class Sawyer::Ok< T >
Success value.
Definition at line 35 of file Result.h.
#include <Sawyer/Result.h>
|
| Ok (const Ok &other) |
| Copy constructor.
|
|
| Ok (const Value &ok) |
| Construct from an value.
|
|
const Value & | operator* () const |
| Dereference to obtain value.
|
|
const Value * | operator-> () const |
| Dereference to obtain pointer.
|
|
|
Ok & | operator= (const Ok &other) |
| Assignment.
|
|
Ok & | operator= (const Value &ok) |
| Assignment.
|
|
◆ Value
◆ Ok() [1/2]
Copy constructor.
Definition at line 66 of file Result.h.
◆ Ok() [2/2]
Construct from an value.
Definition at line 70 of file Result.h.
◆ operator=() [1/2]
Assignment.
Definition at line 76 of file Result.h.
◆ operator=() [2/2]
Assignment.
Definition at line 80 of file Result.h.
◆ operator*()
template<class T >
const Value & Sawyer::Ok< T >::operator* |
( |
| ) |
const |
|
inline |
Dereference to obtain value.
Definition at line 87 of file Result.h.
◆ operator->()
template<class T >
const Value * Sawyer::Ok< T >::operator-> |
( |
| ) |
const |
|
inline |
Dereference to obtain pointer.
Definition at line 92 of file Result.h.
The documentation for this class was generated from the following file: