#include <gc.hh>
Public Member Functions | |
| init_gc (void) | |
| Initializes gc static fields once. | |
| ~init_gc (void) | |
| Performs cleanup to gc static fields once. | |
Private Member Functions | |
| init_gc (const init_gc &) | |
| Hides copy constructor. | |
| init_gc & | operator= (const init_gc &) |
| Hides assignment operator. | |
Initializes static fields of gc class, before they are used. Ensures that order of dynamic initialization will not be broken.
Definition at line 54 of file gc.hh.
| lestes::std::mem::init_gc::init_gc | ( | void | ) |
| lestes::std::mem::init_gc::~init_gc | ( | void | ) |
Performs cleanup to gc static fields once.
Destructor of last existing object runs cleanup of gc class.
Definition at line 56 of file gc.cc.
References lestes::std::mem::gc::cleanup().
00057 { 00058 gc::cleanup(); 00059 }
| lestes::std::mem::init_gc::init_gc | ( | const init_gc & | ) | [private] |
Hides copy constructor.
Hides assignment operator.
1.5.1-20070107