X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5e4e3ed6a92f699a364dc069b4367e6c72623f18..e76b3663393a47c8a97cff1cac268db2b4850a51:/include/xbt/config.hpp diff --git a/include/xbt/config.hpp b/include/xbt/config.hpp index c9fe8653ab..eb160168b8 100644 --- a/include/xbt/config.hpp +++ b/include/xbt/config.hpp @@ -63,6 +63,8 @@ extern template XBT_PUBLIC void set_value(const char* name, double value extern template XBT_PUBLIC void set_value(const char* name, bool value); extern template XBT_PUBLIC void set_value(const char* name, std::string value); +XBT_PUBLIC void set_as_string(const char* name, const std::string& value); + // Get config template XBT_PUBLIC T const& get_value(const char* name);