Blender  V3.3
Classes | Public Member Functions | List of all members
blender::AlignedBuffer< Size, Alignment > Class Template Reference

#include <BLI_memory_utils.hh>

Public Member Functions

 operator void * ()
 
 operator const void * () const
 
voidptr ()
 
const voidptr () const
 

Detailed Description

template<size_t Size, size_t Alignment>
class blender::AlignedBuffer< Size, Alignment >

An AlignedBuffer is a byte array with at least the given size and alignment. The buffer will not be initialized by the default constructor.

Definition at line 335 of file BLI_memory_utils.hh.

Member Function Documentation

◆ operator const void *()

template<size_t Size, size_t Alignment>
blender::AlignedBuffer< Size, Alignment >::operator const void * ( ) const
inline

Definition at line 352 of file BLI_memory_utils.hh.

◆ operator void *()

template<size_t Size, size_t Alignment>
blender::AlignedBuffer< Size, Alignment >::operator void * ( )
inline

Definition at line 347 of file BLI_memory_utils.hh.

◆ ptr() [1/2]

template<size_t Size, size_t Alignment>
void* blender::AlignedBuffer< Size, Alignment >::ptr ( )
inline

◆ ptr() [2/2]

template<size_t Size, size_t Alignment>
const void* blender::AlignedBuffer< Size, Alignment >::ptr ( ) const
inline

Definition at line 362 of file BLI_memory_utils.hh.


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