Disk ARchive  2.7.15
Full featured and portable backup and archiving tool
Public Member Functions | Private Attributes | List of all members
libdar::heap< T > Class Template Reference

the class heap is nothing related to the common heap datastructure this is just a "heap" in the sense of a pool of preallocated objects More...

#include <heap.hpp>

+ Collaboration diagram for libdar::heap< T >:

Public Member Functions

 heap (const heap &ref)=delete
 
 heap (heap &&ref)=default
 
heapoperator= (const heap &ref)=delete
 
heapoperator= (heap &&ref) noexcept=default
 
std::unique_ptr< T > get ()
 
void put (std::unique_ptr< T > &&obj)
 
void put (std::deque< std::unique_ptr< T > > &list)
 
U_I get_size () const
 

Private Attributes

std::deque< std::unique_ptr< T > > tas
 

Detailed Description

template<class T>
class libdar::heap< T >

the class heap is nothing related to the common heap datastructure this is just a "heap" in the sense of a pool of preallocated objects

Definition at line 48 of file heap.hpp.


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