Implements a string-replacement utility. More...
Namespaces | |
namespace | syten |
Syten namespace. | |
Functions | |
template<typename T > | |
std::string | syten::replace (std::string const &input, std::string const &start_delim, std::string const &end_delim, T func) |
Replaces occurences of delimited substrings by function return values. More... | |
template<typename T > | |
void | syten::streamed_replace (std::ostream &out, std::string const &input, std::string const &start_delim, std::string const &end_delim, T func) |
Replaces occurences of delimited substrings by function return values. More... | |
Implements a string-replacement utility.