Corrade/Utility/Memory.h file new in Git master

Function Corrade::Utility::allocateAligned()

Namespaces

namespace Corrade
Root namespace.
namespace Corrade::Utility
Utilities.

Functions

template<class T, std::size_t alignment = alignof(T)>
auto allocateAligned(std::size_t size) -> Containers::Array<T> new in Git master
Allocate aligned memory and value-initialize it.
template<class T, std::size_t alignment = alignof(T)>
auto allocateAligned(DefaultInitT, std::size_t size) -> Containers::Array<T> new in Git master
Allocate aligned memory and default-initialize it.
template<class T, std::size_t alignment = alignof(T)>
auto allocateAligned(ValueInitT, std::size_t size) -> Containers::Array<T> new in Git master
Allocate aligned memory and value-initialize it.
template<class T, std::size_t alignment = alignof(T)>
auto allocateAligned(NoInitT, std::size_t size) -> Containers::Array<T> new in Git master
Allocate aligned memory and leave it uninitialized.