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