◆ init_env_fun()

template<typename Function >
void syten::EnvVars::init_env_fun ( char const *  name,
Function  f 

Calls the specified function f is an environment variable name exists.

The only argument to f is a std::string with the content of the environment variable.

References std::getenv().

Referenced by init_env_vars().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: