+ xbt_assert(currentlyDestroying_, "Don't delete Storages directly. Call destroy() instead.");
+}
+
+/** @brief Fire the required callbacks and destroy the object
+ *
+ * Don't delete directly a Storage, call s->destroy() instead.
+ */
+void StorageImpl::destroy()
+{
+ if (not currentlyDestroying_) {
+ currentlyDestroying_ = true;
+ s4u::Storage::on_destruction(this->piface_);
+ delete this;
+ }