I want simple C++ string based template library to replace strings at runtime.
For example, I will use
string template = \"My name is {{name}}\"; >
string skeleton = "My name is {{name}}"; string placeholder = "{{name}}"; string::size_type pos = skeleton.find(placeholder); while( pos != string::npos ) { skeleton.replace(pos, placeholder.length(), "Gopalakrishnan"); pos = skeleton.find(placeholder, ++pos); }