3 ms·
Google has StatusOr<T> for this purpose: https://github.com/google/protobuf/blob/master/src/google/protobuf/stubs/statusor.h https://github.com/google/protobuf/
by praptak 10y ago
Google has StatusOr<T> for this purpose: https://github.com/google/protobuf/blob/master/src/google/protobuf/stubs/statusor.h https://github.com/google/protobuf/blob/master/src/google/pr...
- brandmeyer 10y agoYep, that's the one.
- deleted 10y ago[deleted]