|
SlHelpers
|
A helper for environment variables. More...
#include <Misc.h>
Static Public Member Functions | |
| template<typename T = std::string> | |
| static std::optional< T > | get (const std::string &name) noexcept |
Get value of name in environment. | |
A helper for environment variables.
|
inlinestaticnoexcept |
Get value of name in environment.
| name | Name of variable to obtain value of |
name. nullopt if not present.