RAII-style override of an environment variable.
More...
#include <tests.h>
Public Member Functions |
| LocalEnv (const std::string &key, const std::string &val) |
Detailed Description
RAII-style override of an environment variable.
Constructor & Destructor Documentation
wreport::tests::LocalEnv::LocalEnv |
( |
const std::string & |
key, |
|
|
const std::string & |
val |
|
) |
| |
|
inline |
- Parameters
-
key | the environment variable to override |
val | the new value to assign to key |
The documentation for this class was generated from the following file: