LLVM  3.7.0
Public Member Functions | List of all members
llvm::ManagedStatic< C > Class Template Reference

ManagedStatic - This transparently changes the behavior of global statics to be lazily constructed on demand (good for reducing startup times of dynamic libraries that link in LLVM components) and for making destruction be explicit through the llvm_shutdown() function call. More...

#include <ManagedStatic.h>

Inheritance diagram for llvm::ManagedStatic< C >:
[legend]
Collaboration diagram for llvm::ManagedStatic< C >:
[legend]

Public Member Functions

Coperator* ()
 
Coperator-> ()
 
const Coperator* () const
 
const Coperator-> () const
 
- Public Member Functions inherited from llvm::ManagedStaticBase
bool isConstructed () const
 isConstructed - Return true if this object has not been created yet. More...
 
void destroy () const
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::ManagedStaticBase
void RegisterManagedStatic (void *(*creator)(), void(*deleter)(void *)) const
 
- Protected Attributes inherited from llvm::ManagedStaticBase
void * Ptr
 
void(* DeleterFn )(void *)
 
const ManagedStaticBaseNext
 

Detailed Description

template<class C>
class llvm::ManagedStatic< C >

ManagedStatic - This transparently changes the behavior of global statics to be lazily constructed on demand (good for reducing startup times of dynamic libraries that link in LLVM components) and for making destruction be explicit through the llvm_shutdown() function call.

Definition at line 61 of file ManagedStatic.h.

Member Function Documentation

template<class C>
C& llvm::ManagedStatic< C >::operator* ( )
inline
template<class C>
const C& llvm::ManagedStatic< C >::operator* ( ) const
inline
template<class C>
C* llvm::ManagedStatic< C >::operator-> ( )
inline
template<class C>
const C* llvm::ManagedStatic< C >::operator-> ( ) const
inline

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