Back to index

lightning-sunbird  0.9+nobinonly
Static Public Member Functions
nsTArrayElementTraits< E > Class Template Reference

#include <nsTArray.h>

List of all members.

Static Public Member Functions

static void Construct (E *e)
template<class A >
static void Construct (E *e, const A &arg)
static void Destruct (E *e)

Detailed Description

template<class E>
class nsTArrayElementTraits< E >

Definition at line 132 of file nsTArray.h.


Member Function Documentation

template<class E >
static void nsTArrayElementTraits< E >::Construct ( E e) [inline, static]

Definition at line 135 of file nsTArray.h.

                                       {
      new (NS_STATIC_CAST(void *, e)) E();
    }

Here is the caller graph for this function:

template<class E >
template<class A >
static void nsTArrayElementTraits< E >::Construct ( E e,
const A arg 
) [inline, static]

Definition at line 140 of file nsTArray.h.

                                                     {
      new (NS_STATIC_CAST(void *, e)) E(arg);
    }
template<class E >
static void nsTArrayElementTraits< E >::Destruct ( E e) [inline, static]

Definition at line 144 of file nsTArray.h.

                                      {
      e->~E();
    }

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file: