LLVM API Documentation

llvm::ManagedStatic< C > Class Template Reference

#include <ManagedStatic.h>

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

List of all members.

Public Member Functions

C & operator* ()
C * operator-> ()
const C & operator* () const
const C * operator-> () const
void LazyInit () const


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 49 of file ManagedStatic.h.


Member Function Documentation

template<class C>
C& llvm::ManagedStatic< C >::operator* (  )  [inline]

template<class C>
C* llvm::ManagedStatic< C >::operator-> (  )  [inline]

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

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

template<class C>
void llvm::ManagedStatic< C >::LazyInit (  )  const [inline]


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