-Info::Info():refcount_(1){
- dict_= xbt_dict_new_homogeneous(xbt_free_f);
-}
-
-Info::Info(Info* info):refcount_(1){
- dict_= xbt_dict_new_homogeneous(xbt_free_f);
- xbt_dict_cursor_t cursor = nullptr;
- char* key;
- void* data;
- xbt_dict_foreach(info->dict_,cursor,key,data){
- xbt_dict_set(dict_, key, xbt_strdup(static_cast<char*>(data)), nullptr);
- }
-}
-
-Info::~Info(){
- xbt_dict_free(&dict_);