#include <function.hpp>
Definition at line 72 of file function.hpp.
function_0 | ( | ) | [inline] |
Definition at line 74 of file function.hpp.
00074 : rep (NULL) {}
function_0 | ( | function_0_rep< D > * | rep2 | ) | [inline] |
Definition at line 75 of file function.hpp.
00075 : rep (rep2) {}
function_0 | ( | function_0_rep< D > * | rep2, | |
bool | with_inc | |||
) | [inline] |
Definition at line 76 of file function.hpp.
00076 : 00077 rep (rep2) { (void) with_inc; INC_COUNT (rep); } inline function_0 (const function_0& f):
function_0 | ( | const function_0< D > & | f | ) | [inline] |
Definition at line 78 of file function.hpp.
00078 : 00079 rep (f.rep) { INC_NULL_COUNT(rep); } inline function_0 (D (*fun) ()):
function_0 | ( | D(*)() | fun | ) | [inline] |
Definition at line 80 of file function.hpp.
00080 : 00081 rep (new def_function_0_rep<D> (fun)) {} inline ~function_0 () { DEC_NULL_COUNT (rep); }
~function_0 | ( | ) | [inline] |
Definition at line 82 of file function.hpp.
00082 { DEC_NULL_COUNT (rep); }
D operator() | ( | ) | const [inline] |
Definition at line 86 of file function.hpp.
00086 { return rep->apply (); }
function_0& operator= | ( | const function_0< D > & | f | ) | [inline] |
Definition at line 83 of file function.hpp.
00083 { 00084 INC_NULL_COUNT (f.rep); DEC_NULL_COUNT (rep); 00085 rep= f.rep; return *this; }
function_0_rep<D>* rep |
Definition at line 73 of file function.hpp.
Referenced by function_0< void >::function_0(), function_0< void >::operator()(), function_0< void >::operator=(), and function_0< void >::~function_0().