carl  24.04
Computer ARithmetic Library
carl::pool::PoolElementWrapper< Content > Class Template Reference

#include <Pool.h>

Inheritance diagram for carl::pool::PoolElementWrapper< Content >:
Collaboration diagram for carl::pool::PoolElementWrapper< Content >:

Public Member Functions

template<typename ... Args>
 PoolElementWrapper (Args &&...args)
 
 ~PoolElementWrapper ()
 
const Content & content () const
 
auto id () const
 

Private Attributes

friend Pool< Content >
 
std::size_t m_id
 
std::weak_ptr< PoolElementWrapper< Content > > m_weak_ptr
 
Content m_content
 

Detailed Description

template<class Content>
class carl::pool::PoolElementWrapper< Content >

Definition at line 17 of file Pool.h.

Constructor & Destructor Documentation

◆ PoolElementWrapper()

template<class Content >
template<typename ... Args>
carl::pool::PoolElementWrapper< Content >::PoolElementWrapper ( Args &&...  args)
inlineexplicit

Definition at line 26 of file Pool.h.

◆ ~PoolElementWrapper()

template<class Content >
carl::pool::PoolElementWrapper< Content >::~PoolElementWrapper ( )
inline

Definition at line 27 of file Pool.h.

Here is the call graph for this function:

Member Function Documentation

◆ content()

template<class Content >
const Content& carl::pool::PoolElementWrapper< Content >::content ( ) const
inline

Definition at line 31 of file Pool.h.

Here is the caller graph for this function:

◆ id()

template<class Content >
auto carl::pool::PoolElementWrapper< Content >::id ( ) const
inline

Definition at line 35 of file Pool.h.

Here is the caller graph for this function:

Field Documentation

◆ m_content

template<class Content >
Content carl::pool::PoolElementWrapper< Content >::m_content
private

Definition at line 22 of file Pool.h.

◆ m_id

template<class Content >
std::size_t carl::pool::PoolElementWrapper< Content >::m_id
private

Definition at line 20 of file Pool.h.

◆ m_weak_ptr

template<class Content >
std::weak_ptr<PoolElementWrapper<Content> > carl::pool::PoolElementWrapper< Content >::m_weak_ptr
private

Definition at line 21 of file Pool.h.

◆ Pool< Content >

template<class Content >
friend carl::pool::PoolElementWrapper< Content >::Pool< Content >
private

Definition at line 18 of file Pool.h.


The documentation for this class was generated from the following file: