|
ngscopeclient v0.2
|
RAII helper for allocations. More...
#include <ScratchBufferManager.h>


Public Member Functions | |
| ScratchBuffer (ScratchBuffer< ID, T > &&rhs) | |
| ScratchBuffer (ID id) | |
| auto & | operator= (ScratchBuffer< ID, T > &&rhs) |
| AcceleratorBuffer< T > & | operator* () |
| Get the underlying temporary. | |
| AcceleratorBuffer< T > * | operator-> () |
| Get the underlying temporary. | |
Protected Attributes | |
| std::shared_ptr< AcceleratorBuffer< T > > | m_ptr |
| The underlying buffer pointer. | |
| ID | m_pool |
| The pool we were allocated from. | |