OGLplus  (0.59.0) a C++ wrapper for rendering APIs

eagine::memory::aligned_block< Size > Class Template Reference

Class containing store of the specified size convertible to block. More...

#include <eagine/memory/aligned_block.hpp>

Public Member Functions

auto get () noexcept -> block
 Returns a view of the internal storage as a block.
 
auto get () const noexcept -> const_block
 Returns a view of the internal storage as a const block.
 
 operator block () noexcept
 Implicit conversion to block. More...
 
 operator const_block () const noexcept
 Implicit conversion to const block. More...
 

Detailed Description

template<std::size_t Size>
class eagine::memory::aligned_block< Size >

Class containing store of the specified size convertible to block.

Template Parameters
Sizethe size in bytes of the internal storage in the instantiation.
See also
block

Member Function Documentation

◆ operator block()

template<std::size_t Size>
eagine::memory::aligned_block< Size >::operator block ( )
inlinenoexcept

Implicit conversion to block.

See also
get

◆ operator const_block()

template<std::size_t Size>
eagine::memory::aligned_block< Size >::operator const_block ( ) const
inlinenoexcept

Implicit conversion to const block.

See also
get

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

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).