3 ms·It's even easier since the MSVC STL std::error_code (std::system_category) already does that.by ksherlock 7y agoIt's even easier since the MSVC STL std::error_code (std::system_category) already does that.