class ngraph::runtime::AlignedBuffer

Allocates a block of memory on the specified alignment. The actual size of the allocated memory is larger than the requested size by the alignment, so allocating 1 byte on 64 byte alignment will allocate 65 bytes.

#include <aligned_buffer.hpp>

class AlignedBuffer
{
public:
    // construction

    AlignedBuffer(, );
    AlignedBuffer();
    AlignedBuffer();

    // methods

    AlignedBuffer&AlignedBuffer&& operator = ();
    size_t size() const;
    void \*size_t get_ptr() const;
    void \* get_ptr();
    const void \* get_ptr() const;

    template <>
    T \* get_ptr();

    template <>
    const T \* get_ptr() const;

    template <>
    operator T\* ();
};

// direct descendants

template <>
class SharedBuffer;