#include <UninitializedVector.h>
Static Public Member Functions | |
template<class Elem > | |
static void | initialize (Elem *buffer) |
template<class Elem , class T1 > | |
static void | initialize (Elem *buffer, T1 &a) |
template<class Elem , class T1 , class T2 > | |
static void | initialize (Elem *buffer, T1 &a, T2 &b) |
template<class Elem , class T1 , class T2 , class T3 > | |
static void | initialize (Elem *buffer, T1 &a, T2 &b, T3 &c) |
It defines 'initialize which takes from 0 ... 3 arguments (along with the object storage) which are passed on to the objects when placement new is used. A general N-dimensional version calls the N-1-dimensional version; a specialization for the 0th index terminates the template recursion.
The first template parameter is the type of data to initialize; the second is index (0 ... Dim-1) which we are currently initializing.
static void InitializeUninitializedVector< T, I >::initialize | ( | Elem * | buffer | ) | [inline, static] |
static void InitializeUninitializedVector< T, I >::initialize | ( | Elem * | buffer, | |
T1 & | a | |||
) | [inline, static] |
References CTAssert, and InitializeUninitializedVector< T, I >::initialize().
static void InitializeUninitializedVector< T, I >::initialize | ( | Elem * | buffer, | |
T1 & | a, | |||
T2 & | b | |||
) | [inline, static] |
References CTAssert, and InitializeUninitializedVector< T, I >::initialize().
static void InitializeUninitializedVector< T, I >::initialize | ( | Elem * | buffer, | |
T1 & | a, | |||
T2 & | b, | |||
T3 & | c | |||
) | [inline, static] |
References CTAssert, and InitializeUninitializedVector< T, I >::initialize().