17 #ifndef __TBB_aligned_space_H 18 #define __TBB_aligned_space_H 28 template<
typename T,
size_t N=1>
32 element_type
array[(
sizeof(T)*N+
sizeof(element_type)-1)/
sizeof(element_type)];
35 T*
begin()
const {
return internal::punned_cast<T*>(
this);}
T * end() const
Pointer to one past last element in array.
T * begin() const
Pointer to beginning of array.
Block of space aligned sufficiently to construct an array T with N elements.
typedef __TBB_TypeWithAlignmentAtLeastAsStrict(T) element_type
element_type array[(sizeof(T) *N+sizeof(element_type) -1)/sizeof(element_type)]