#include <statusor.h>
Classes | |
struct | IsNull |
struct | IsNull< U * > |
Public Member Functions | |
T | ConsumeValueOrDie () |
bool | ok () const |
StatusOr & | operator= (const StatusOr &other) |
template<typename U > | |
StatusOr & | operator= (const StatusOr< U > &other) |
template<typename U > | |
StatusOr & | operator= (StatusOr< U > &&other) |
template<typename U > | |
StatusOr< T > & | operator= (const StatusOr< U > &other) |
template<typename U > | |
StatusOr< T > & | operator= (StatusOr< U > &&other) |
const Status & | status () const |
StatusOr () | |
StatusOr (const Status &status) | |
StatusOr (const T &value) | |
StatusOr (const StatusOr &other) | |
template<typename U > | |
StatusOr (const StatusOr< U > &other) | |
StatusOr (T &&value) | |
template<typename U > | |
StatusOr (StatusOr< U > &&other) | |
const T & | ValueOrDie () const |
Private Member Functions | |
void | CheckValueNotNull (const T &value) |
Private Attributes | |
Status | status_ |
T | value_ |
Friends | |
template<typename U > | |
class | StatusOr |
Definition at line 93 of file statusor.h.
|
inline |
Definition at line 222 of file statusor.h.
|
inline |
Definition at line 227 of file statusor.h.
|
inline |
Definition at line 236 of file statusor.h.
|
inline |
Definition at line 246 of file statusor.h.
|
inline |
Definition at line 259 of file statusor.h.
|
inline |
Definition at line 292 of file statusor.h.
|
inline |
Definition at line 308 of file statusor.h.
|
inlineprivate |
Definition at line 323 of file statusor.h.
|
inline |
Definition at line 299 of file statusor.h.
|
inline |
Definition at line 277 of file statusor.h.
|
inline |
Definition at line 251 of file statusor.h.
StatusOr& util::StatusOr< T >::operator= | ( | const StatusOr< U > & | other | ) |
StatusOr& util::StatusOr< T >::operator= | ( | StatusOr< U > && | other | ) |
|
inline |
Definition at line 265 of file statusor.h.
|
inline |
Definition at line 316 of file statusor.h.
|
inline |
Definition at line 272 of file statusor.h.
|
inline |
Definition at line 282 of file statusor.h.
Definition at line 94 of file statusor.h.
|
private |
Definition at line 189 of file statusor.h.
|
private |
Definition at line 190 of file statusor.h.