#include <function.hpp>
Definition at line 128 of file function.hpp.
function_1 | ( | ) | [inline] |
Definition at line 130 of file function.hpp.
00130 : rep (NULL) {}
function_1 | ( | function_1_rep< D, S1 > * | rep2 | ) | [inline] |
Definition at line 131 of file function.hpp.
00131 : rep (rep2) {}
function_1 | ( | function_1_rep< D, S1 > * | rep2, | |
bool | with_inc | |||
) | [inline] |
Definition at line 132 of file function.hpp.
00132 : 00133 rep (rep2) { (void) with_inc; INC_COUNT (rep); } inline function_1 (const function_1& f):
function_1 | ( | const function_1< D, S1 > & | f | ) | [inline] |
Definition at line 134 of file function.hpp.
00134 : 00135 rep (f.rep) { INC_NULL_COUNT(rep); } inline function_1 (D (*fun) (S1)):
function_1 | ( | D(*)(S1) | fun | ) | [inline] |
Definition at line 136 of file function.hpp.
00136 : 00137 rep (new def_function_1_rep<D,S1> (fun)) {} inline ~function_1 () { DEC_NULL_COUNT (rep); }
~function_1 | ( | ) | [inline] |
Definition at line 138 of file function.hpp.
00138 { DEC_NULL_COUNT (rep); }
D operator() | ( | S1 | x1 | ) | const [inline] |
Definition at line 142 of file function.hpp.
00142 { return rep->apply (x1); }
function_1& operator= | ( | const function_1< D, S1 > & | f | ) | [inline] |
Definition at line 139 of file function.hpp.
00139 { 00140 INC_NULL_COUNT (f.rep); DEC_NULL_COUNT (rep); 00141 rep= f.rep; return *this; }
function_1_rep<D,S1>* rep |
Definition at line 129 of file function.hpp.
Referenced by function_1< bool, typename argument_helper< T >::arg_type >::function_1(), function_1< bool, typename argument_helper< T >::arg_type >::operator()(), function_1< bool, typename argument_helper< T >::arg_type >::operator=(), and function_1< bool, typename argument_helper< T >::arg_type >::~function_1().