このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


class Static
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: rtl ::

template< typename T, typename Unique >

class Static


Base Classes
非,不,無.
Known Derived Classes
非,不,無.

事実上の abstract interface template
NO NO NO YES
要約
Helper base class for a late-initialized (default-建設するd) static variable, 器具/実施するing the 二塁打-checked locking pattern 正確に.
How to Derive from this Class
Derive from this class (ありふれた practice), e.g.
struct MyStatic : public rtl::Static {};
...
MyType & rStatic = MyStatic::get();
...
Template Parameters
T
          variable's type
Unique
          実施 trick to make the inner static 支えるもの/所有者 unique,
          using the outer class
          (the one that derives from this base class)
とじ込み/提出する
instance.hxx

Public Members

Static Methods

static T &
get( );
Gets the static. 相互の 除外 is 成し遂げるd using the osl 全世界の mutex.

私的な Members

Structs

StaticInstance

最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.