rtl::StaticAggregate< T, InitAggregate > Class Template Reference

Helper class for a late-initialized static aggregate, e.g. More...

#include <instance.hxx>

List of all members.

Static Public Member Functions

static T * get ()
 Gets the static aggregate, late-initializing.

Detailed Description

template<typename T, typename InitAggregate>
class rtl::StaticAggregate< T, InitAggregate >

Helper class for a late-initialized static aggregate, e.g.

an array, implementing the double-checked locking pattern correctly.

Template Parameters:
T aggregate's element type
InitAggregate initializer functor class

Member Function Documentation

template<typename T, typename InitAggregate>
static T* rtl::StaticAggregate< T, InitAggregate >::get (  )  [inline, static]

Gets the static aggregate, late-initializing.

Mutual exclusion is performed using the osl global mutex.

Returns:
aggregate

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 22 Nov 2013 by  doxygen 1.6.1