Loading...
Searching...
No Matches
StringMapper-example.cpp

Expands a std::string containing variables like "Hello, ${name}!" to a literal std::string. StringMapper parses a given std::string, it splits the std::string into segments containing literals and variables in turn. The result is stored in a list of Stringlet:s. The variables are provided to a StringMap by means of a std::map<std::string,T> .