lkptr.h File Reference

simple reference LinKed PoinTeR. More...

Go to the source code of this file.

Classes

class  lkptr< X >
 These smart pointer share the object they point to. More...

Defines

#define COMPILER_lkptr
 MOD this when your compiler does compile this correctly.
#define lkptr_h
 Avoid multiple file inclusion.

Functions

template<class X >
bool operator== (const lkptr< X > &p, const lkptr< X > &q)
  (p == q) ???
template<class X >
bool operator!= (const lkptr< X > &p, const lkptr< X > &q)
  (p != q) ???
template<class Y >
bool check_ok (const lkptr< Y > &p) throw ()
 Verifies the invariant for class lkptr<Y>.


Detailed Description

simple reference LinKed PoinTeR.

Author:
Adolfo Di Mare <adolfo@di-mare.com>
Date:
2007

Definition in file lkptr.h.


Define Documentation

#define COMPILER_lkptr

MOD this when your compiler does compile this correctly.

Definition at line 22 of file lkptr.h.

#define lkptr_h

Avoid multiple file inclusion.

Definition at line 42 of file lkptr.h.


Function Documentation

template<class X >
bool operator== ( const lkptr< X > &  p,
const lkptr< X > &  q 
) [inline]

(p == q) ???

Definition at line 290 of file lkptr.h.

template<class X >
bool operator!= ( const lkptr< X > &  p,
const lkptr< X > &  q 
) [inline]

(p != q) ???

Definition at line 296 of file lkptr.h.

template<class Y >
bool check_ok ( const lkptr< Y > &  p  )  throw () [inline]

Verifies the invariant for class lkptr<Y>.

See also:
lkptr<Y>::ok().

Definition at line 314 of file lkptr.h.


Generated on Tue Oct 21 11:15:55 2008 for lkptr - simple reference LinKed PoinTeR: by  doxygen 1.5.7.1