Dragon - C++ API
A Computation Graph Virtual Machine Based Deep Learning Framework
Functions
dragon::str Namespace Reference

Functions

template<typename T >
std::string to (T val)
 
std::vector< std::string > split (const std::string &str, const std::string &c)
 
bool find (const std::string &str, const std::string &pattern)
 
std::string replace_first (const std::string &str, const std::string &pattern, const std::string &excepted)
 

Function Documentation

◆ find()

bool dragon::str::find ( const std::string &  str,
const std::string &  pattern 
)
inline

◆ replace_first()

std::string dragon::str::replace_first ( const std::string &  str,
const std::string &  pattern,
const std::string &  excepted 
)
inline

◆ split()

std::vector<std::string> dragon::str::split ( const std::string &  str,
const std::string &  c 
)
inline

◆ to()

template<typename T >
std::string dragon::str::to ( val)
inline