TPIE

2362a60
tpie::memory_bucket_ref Class Reference

Class storring a reference to a memory bucket. More...

#include <tpie/memory.h>

Public Member Functions

 memory_bucket_ref (memory_bucket *b=nullptr) noexcept
 
 operator bool () const noexcept
 
 memory_bucket_ref (const memory_bucket_ref &o)=default
 
 memory_bucket_ref (memory_bucket_ref &&o)=default
 
memory_bucket_ref & operator= (const memory_bucket_ref &o)=default
 
memory_bucket_ref & operator= (memory_bucket_ref &&o)=default
 
memory_bucket & operator* () noexcept
 
const memory_bucket & operator* () const noexcept
 
memory_bucket * operator-> () noexcept
 
const memory_bucket * operator-> () const noexcept
 

Friends

bool operator== (const memory_bucket_ref &l, const memory_bucket_ref &r) noexcept
 
bool operator!= (const memory_bucket_ref &l, const memory_bucket_ref &r) noexcept
 

Detailed Description

Class storring a reference to a memory bucket.

We do not use raw pointers manly because the go into overloading resolution with 0.

Definition at line 366 of file memory.h.


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