LLVM API Documentation

Public Member Functions
llvm::ManagedStatic< C > Class Template Reference

#include <ManagedStatic.h>

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

List of all members.

Public Member Functions

C & operator* ()
C * operator-> ()
const C & operator* () const
const C * operator-> () 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 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: