10#ifndef TEUCHOS_ENVVARIABLES_HPP 
   11#define TEUCHOS_ENVVARIABLES_HPP 
   18T getEnvironmentVariable(
const std::string_view environmentVariableName,
 
   19                         const T defaultValue);
 
   21bool idempotentlyGetNamedEnvironmentVariableAsBool(
 
   22    const char name[], 
bool &initialized, 
const char environmentVariableName[],
 
   23    const bool defaultValue);
 
   38    T &value, 
bool &initialized, 
const std::string_view environmentVariableName,
 
   39    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: