| Overview | Namespace | Class | Index | Help |
| PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
:: rtl ::
template< typename T, typename InitAggregate >
class StaticAggregate
- Base Classes
- None.
- Known Derived Classes
- cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
cd
| virtual | abstract | interface | template |
| NO | NO | NO | YES |
- Summary
- 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 typeInitAggregate initializer functor class
- File
- instance.hxx
Public Members
-
Static Methods
static T *
get( );Gets the static aggregate, late-initializing. Mutual exclusion is performed using the osl global mutex.
Copyright © 2009 Sun Microsystems, Inc.


