10#ifndef TEUCHOS_ENVVARIABLES_HPP
11#define TEUCHOS_ENVVARIABLES_HPP
17bool idempotentlyGetNamedEnvironmentVariableAsBool(
18 const char name[],
bool &initialized,
const char environmentVariableName[],
19 const bool defaultValue);
34 T &value,
bool &initialized,
const std::string_view environmentVariableName,
35 const T defaultValue);
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...
T idempotentlyGetEnvironmentVariable(T &value, bool &initialized, const std::string_view environmentVariableName, const T defaultValue)
Read a variable from the environment. Example usage: