Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
AlignedMemory< T > Class Template Reference

#include <backing_memory.hpp>

Inheritance diagram for AlignedMemory< T >:
BackingMemory< T >

Public Member Functions

T * raw_data ()
 
- Public Member Functions inherited from BackingMemory< T >
 BackingMemory ()=default
 
 BackingMemory (const BackingMemory &)=delete
 
 BackingMemory (BackingMemory &&other)=delete
 
BackingMemoryoperator= (const BackingMemory &)=delete
 
BackingMemoryoperator= (const BackingMemory &&)=delete
 
virtual ~BackingMemory ()=default
 

Private Member Functions

 AlignedMemory (size_t size)
 

Private Attributes

std::shared_ptr< T[]> data
 
friend BackingMemory< T >
 

Additional Inherited Members

- Static Public Member Functions inherited from BackingMemory< T >
static std::shared_ptr< BackingMemory< T > > allocate (size_t size)
 

Detailed Description

template<typename T>
class AlignedMemory< T >

Definition at line 55 of file backing_memory.hpp.

Constructor & Destructor Documentation

◆ AlignedMemory()

template<typename T >
AlignedMemory< T >::AlignedMemory ( size_t  size)
inlineprivate

Definition at line 60 of file backing_memory.hpp.

Member Function Documentation

◆ raw_data()

template<typename T >
T * AlignedMemory< T >::raw_data ( )
inlinevirtual

Implements BackingMemory< T >.

Definition at line 57 of file backing_memory.hpp.

Member Data Documentation

◆ BackingMemory< T >

template<typename T >
friend AlignedMemory< T >::BackingMemory< T >
private

Definition at line 69 of file backing_memory.hpp.

◆ data

template<typename T >
std::shared_ptr<T[]> AlignedMemory< T >::data
private

Definition at line 67 of file backing_memory.hpp.


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