ned14 / status-code

Proposed SG14 status_code for the C++ standard
Other
66 stars 13 forks source link

status_code.hpp vs. system_error2.hpp #33

Closed qknight closed 3 years ago

qknight commented 3 years ago

In our examples we are using system_error2.hpp but what is the status_code.hpp used for?

Or in other words, the standard is planned to be called 'status code' so isn't status_code.hpp eventually the header one would include and use as a basis?

ned14 commented 3 years ago

LEWG haven't thought about header naming nor inclusion segmentation for this feature yet. Still on bikeshedding the class names.

I roughly follow a header per category of classes. You should be able to include what you need and nothing extra if you wish.