2 ms·
You don't have to use exceptions in C++. Google doesn't, for example. Errors are reported with StatusOr<> like so: https://github.com/protocolbuffers/protobuf/
by m0zg 7y ago
You don't have to use exceptions in C++. Google doesn't, for example. Errors are reported with StatusOr<> like so:
https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/stubs/statusor.h https://github.com/protocolbuffers/protobuf/blob/master/src/...