Searched defs:StatusOr (Results 1 – 2 of 2) sorted by relevance
37 StatusOr(const status_t error) : _status(error), _value() {} in StatusOr() function39 StatusOr(const T& value) : _status(NO_ERROR), _value(value) {} in StatusOr() function41 StatusOr(T&& value) : _status(NO_ERROR), _value(value) {} in StatusOr() function
39 StatusOr(Status status) : mStatus(std::move(status)) { assert(!isOk(mStatus)); } in StatusOr() function44 StatusOr(const T& value) : mStatus(status::ok), mValue(value) {} in StatusOr() function46 StatusOr(T&& value) : mStatus(status::ok), mValue(std::move(value)) {} in StatusOr() function