![]() |
LLGL 0.05 Beta
|
Alternative to std::aligned_storage but with support for zero length array.
More...
#include <AlignedArray.h>
Public Types | |
| using | pointer = T* |
| using | const_pointer = const T* |
| using | size_type = std::size_t |
Public Member Functions | |
| size_type | size () const noexcept |
Returns the static size of this array provided by the template argument Size. | |
| pointer | data () noexcept |
| Returns a pointer to the aligned array. | |
| const_pointer | data () const noexcept |
| Returns a constant pointer to the aligned array. | |
Alternative to std::aligned_storage but with support for zero length array.
| T | specifies the element type and the aligned of this array. |
| Size | Specifies the size (in elements) of this array. |
| using LLGL::AlignedArray< T, Size >::const_pointer = const T* |
| using LLGL::AlignedArray< T, Size >::pointer = T* |
| using LLGL::AlignedArray< T, Size >::size_type = std::size_t |
|
inlinenoexcept |
Returns a constant pointer to the aligned array.
|
inlinenoexcept |
Returns a pointer to the aligned array.
|
inlinenoexcept |
Returns the static size of this array provided by the template argument Size.