Home
last modified time | relevance | path

Searched defs:ErrorOr (Results 1 – 1 of 1) sorted by relevance

/system/extras/libjsonpb/parse/include/jsonpb/
Derror_or.h29 struct ErrorOr { struct
31 explicit ErrorOr(Args&&... args) : data_(kIndex1, std::forward<Args>(args)...) {} in ErrorOr() argument
53 static ErrorOr<T> MakeError(std::string message) { in MakeError() argument
61 ErrorOr(std::string msg, Tag) : data_(kIndex0, std::move(msg)) {} in ErrorOr() function
67 inline ErrorOr<T> MakeError(std::string message) { in MakeError() argument