Searched defs:StatusOr (Results 1 – 3 of 3) 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
37 StatusOr(int32_t status_code) // NOLINT(google-explicit-constructor) in StatusOr() function39 StatusOr(T val) // NOLINT(google-explicit-constructor) in StatusOr() function
52 using StatusOr = std::variant<status_t, T>; typedef