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

#include <Pool.h>

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

Public Member Functions

template<typename Key >
 PoolElement (Key &&k)
 
const Content & operator() () const
 
const Content & operator* () const
 
const Content * operator-> () const
 
auto id () const
 

Private Attributes

std::shared_ptr< PoolElementWrapper< Content > > m_content
 

Detailed Description

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

Definition at line 149 of file Pool.h.

Constructor & Destructor Documentation

◆ PoolElement()

template<class Content >
template<typename Key >
carl::pool::PoolElement< Content >::PoolElement ( Key &&  k)
inline

Definition at line 154 of file Pool.h.

Member Function Documentation

◆ id()

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

Definition at line 166 of file Pool.h.

◆ operator()()

template<class Content >
const Content& carl::pool::PoolElement< Content >::operator() ( ) const
inline

Definition at line 156 of file Pool.h.

◆ operator*()

template<class Content >
const Content& carl::pool::PoolElement< Content >::operator* ( ) const
inline

Definition at line 159 of file Pool.h.

◆ operator->()

template<class Content >
const Content* carl::pool::PoolElement< Content >::operator-> ( ) const
inline

Definition at line 162 of file Pool.h.

Field Documentation

◆ m_content

template<class Content >
std::shared_ptr<PoolElementWrapper<Content> > carl::pool::PoolElement< Content >::m_content
private

Definition at line 150 of file Pool.h.


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