Class storing a map of variable names to values, doing string substitution. More...
#include <eagine/str_var_subst.hpp>
Public Member Functions | |
auto | set (std::string name, std::string value) -> string_variable_map & |
Set the value of a variable with name . | |
auto | subst_variables (const std::string &str) const -> std::string |
Uses the stored variables to do substitution in the given string. | |
auto | operator() (const std::string &str) const -> std::string |
Uses the stored variables to do substitution in the given string. | |
Class storing a map of variable names to values, doing string substitution.