Implements a string-replacement utility. More...
Include dependency graph for string_replace.h:
This graph shows which files directly or indirectly include this file: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.