## ◆ allocate() [2/2]

template<typename T , typename Arch >
 T* boost::simd::allocate ( std::size_t size, Arch const & arch )

Allocates space for a memory block of size elements of type T with an alignment compatible with the selected SIMD instructions set arch.

Template Parameters
 T Type of data to be allocated
Parameters
 size Number of elements to allocate arch Selected SIMD ISA mark-up
Returns
A pointer to the allocated space.