cpp/thread/future errc

The scoped enumeration defines the error codes reported by std and related classes in std exception objects. Only four error codes are required, although the implementation may define additional error codes. Because the appropriate specialization of std is provided, values of type are implicitly convertible to std.

All error codes are distinct and non-zero.