Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: 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 type
InitAggregate
          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.

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.