АР
Size: a a a
АР
АР
АР
АР
АР
ID
АР
АР
АР
const auto& myErrCat = GetErrorCat();
std::error_code make_error_code(ErrEnum e) {
return {
static_cast<int>(e),
myErrCat // use cached reference instead of calling method with fence
};
}АР
m
ID
АБ
AD
S
АР