ValueWithErrorCode overrides
Closed this issue · 0 comments
aokellermann commented
Description
It would be nice to have some ValueWithErrorCode constructors besides the default std::pair
ones.
Possible Solution
Add the below constructors.
Deliverables
- ValueWithErrorCode(T): init with T and set EC to empty.
- ValueWithErrorCode(EC): init EC and use default constructor for value.