Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catchorg/Catch2
/ ErrnoGuard
Method
ErrnoGuard
extras/catch_amalgamated.cpp:4154–4154 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4152
4153
namespace Catch {
4154
ErrnoGuard::ErrnoGuard():m_oldErrno(errno){}
4155
ErrnoGuard::~ErrnoGuard() { errno = m_oldErrno; }
4156
}
4157
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected