halcheck 1.0
Loading...
Searching...
No Matches
lib/string

Additional string utilities. More...

Functions

template<typename T >
std::string halcheck::lib::to_string (const T &value)
 Converts a value to a std::string using operator<<.
 
template<typename T >
lib::optional< T > halcheck::lib::of_string (const std::string &value)
 Converts a std::string to a value using operator>>.
 
lib::optional< std::stringhalcheck::lib::getenv (const std::string &name)
 Gets the value of an environment variable.
 
template<typename T >
lib::optional< T > halcheck::lib::getenv (const std::string &name)
 Gets the value of an environment variable.
 

Detailed Description

Additional string utilities.

See also
https://en.cppreference.com/w/cpp/header/string