Now that std::variant is available to us, we remove some of the "poor man's" std::variant implementations we had in the codebase. This was for classes: RPCMsgId and SubStatus. This refactor improves code readability and maintainability since hand-rolling a variant-workalike was painful and error-prone.
Now that
std::variant
is available to us, we remove some of the "poor man's"std::variant
implementations we had in the codebase. This was for classes:RPCMsgId
andSubStatus
. This refactor improves code readability and maintainability since hand-rolling a variant-workalike was painful and error-prone.Also added unit tests for
RPCMsgId
andSubStatus
.