Libftpp
A modern C++ library
Pool< TType >::Object Class Reference

Wrapper around a TType object managed by the Pool. Provides access to the underlying TType object. More...

#include <pool.hpp>

Public Member Functions

 Object ()
 
virtual ~Object ()
 
TType * operator-> ()
 
TType * get ()
 

Friends

class Pool< TType >
 

Detailed Description

template<typename TType>
class Pool< TType >::Object

Wrapper around a TType object managed by the Pool. Provides access to the underlying TType object.

Definition at line 44 of file pool.hpp.

Constructor & Destructor Documentation

◆ Object()

template<typename TType >
Pool< TType >::Object::Object ( )

◆ ~Object()

template<typename TType >
virtual Pool< TType >::Object::~Object ( )
virtual

Member Function Documentation

◆ get()

template<typename TType >
TType* Pool< TType >::Object::get ( )

◆ operator->()

template<typename TType >
TType* Pool< TType >::Object::operator-> ( )

Friends And Related Function Documentation

◆ Pool< TType >

template<typename TType >
friend class Pool< TType >
friend

Definition at line 97 of file pool.hpp.