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 |
Class storring a reference to a memory bucket.
We do not use raw pointers manly because the go into overloading resolution with 0.