12 for(
auto* e : container)
18 void clearAndDeleteLater(T& container,
delete_later<T>& storage) noexcept
20 auto tmp = std::move(container);
22 ptr->setParent(
nullptr);
26 storage.container.insert(storage.container.end(), tmp.begin(), tmp.end());
30 [[nodiscard]]
auto clearAndDeleteLater(T& container) noexcept
32 auto tmp = std::move(container);
34 ptr->setParent(
nullptr);
41 return delete_later<T>{std::move(tmp)};
Base toolkit upon which the software is built.
Definition: Application.cpp:90
Definition: DeleteAll.hpp:7