LBANN  0.103.0
LivermoreBigArtificialNeuralNetworkToolkit
from_string.hpp File Reference
#include <algorithm>
#include <string>
Include dependency graph for from_string.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 lbann
 
 lbann::utils
 

Functions

template<typename T >
lbann::utils::from_string (std::string const &str)
 An exceedingly simple implementation of boost::lexical_cast, e.g. More...
 
std::string lbann::utils::from_string (std::string &&str)
 
template<>
std::string lbann::utils::from_string< std::string > (std::string const &str)
 
template<>
int lbann::utils::from_string< int > (std::string const &str)
 
template<>
long lbann::utils::from_string< long > (std::string const &str)
 
template<>
long long lbann::utils::from_string< long long > (std::string const &str)
 
template<>
unsigned long lbann::utils::from_string< unsigned long > (std::string const &str)
 
template<>
unsigned long long lbann::utils::from_string< unsigned long long > (std::string const &str)
 
template<>
float lbann::utils::from_string< float > (std::string const &str)
 
template<>
double lbann::utils::from_string< double > (std::string const &str)
 
template<>
long double lbann::utils::from_string< long double > (std::string const &str)
 
template<>
bool lbann::utils::from_string< bool > (std::string const &str)