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)];
T * end() const
Pointer to one past last element in array.
T punned_cast(U *ptr)
Cast between unrelated pointer types.
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)]
Block of space aligned sufficiently to construct an array T with N elements.