MADNESS 0.10.1
Classes | Namespaces | Functions
deferred_cleanup.h File Reference
#include <madness/world/worldmutex.h>
#include <list>
#include <memory>
Include dependency graph for deferred_cleanup.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  madness::detail::DeferredCleanup
 Deferred cleanup of shared_ptr's. More...
 

Namespaces

namespace  madness
 Namespace for all elements and tools of MADNESS.
 
namespace  madness::detail
 

Functions

template<typename objT >
void madness::detail::deferred_cleanup (World &world, const std::shared_ptr< objT > &p, bool assume_p_is_unique)
 Defer the cleanup of a shared pointer to the end of the next fence.