gc.test.cc File Reference

Unit test. More...

#include <lestes/common.hh>

Include dependency graph for gc.test.cc:


Namespaces

namespace  lestes
namespace  lestes::std
namespace  lestes::std::mem

Classes

class  lestes::std::mem::a
class  lestes::std::mem::aa
class  lestes::std::mem::b
class  lestes::std::mem::c
class  lestes::std::mem::d
class  lestes::std::mem::e

Defines

#define live(r, k)   lassert(gc::live_roots() == (r + static_r) && gc::live_keystones() == (k + static_k))
 helper to assert count of live root pointers and keystones

Functions

void lestes::std::mem::gc_test (void)
int main (void)

Detailed Description

Unit test.

Unit test for garbage collector functionality.

Author:
pt

Define Documentation

#define live ( r,
 )     lassert(gc::live_roots() == (r + static_r) && gc::live_keystones() == (k + static_k))

helper to assert count of live root pointers and keystones


Function Documentation

int main ( void   ) 


Generated on Mon Feb 12 18:39:20 2007 for lestes by doxygen 1.5.1-20070107