Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Improving the performance of the NS-3 bindings by:
[simgrid.git] / src / surf / PropertyHolder.hpp
index 27ae7a627fd8cc337cf99b98b7e90c55ab3451f2..2c7cdceedf5f61af7adc1ca86a1d5549ed2ee4ab 100644 (file)
@@ -28,6 +28,7 @@ public:
   void set_property(const std::string& id, const std::string& value);
 
   const std::unordered_map<std::string, std::string>* get_properties();
+  template <class Assoc> void set_properties(const Assoc& properties);
 
 private:
   std::unique_ptr<std::unordered_map<std::string, std::string>> properties_ = nullptr;