#include <functional.h>
Public Types | |
| typedef Ftor::result_type | result_type |
| typedef Ftor::first_argument_type | first_argument_type |
| typedef Ftor::second_argument_type | second_argument_type |
Public Member Functions | |
| binary_function_count () | |
| result_type | operator() (const first_argument_type &aX, const second_argument_type &aY) |
| bool | operator== (const binary_function_count &aUFC) const |
Private Types | |
| typedef atomic< size_t > | atom_type |
| This atomic type used a a counter of function calls. | |
Private Attributes | |
| atom_type::atomic_type | _cnt |
typedef atomic<size_t> rpa::binary_function_count< Ftor >::atom_type [private] |
This atomic type used a a counter of function calls.
| typedef Ftor::first_argument_type rpa::binary_function_count< Ftor >::first_argument_type |
| typedef Ftor::result_type rpa::binary_function_count< Ftor >::result_type |
| typedef Ftor::second_argument_type rpa::binary_function_count< Ftor >::second_argument_type |
| rpa::binary_function_count< Ftor >::binary_function_count | ( | ) | [inline] |
The same functor may be called simultaneously by several threads. Therefore the need of an atomic counter.
| result_type rpa::binary_function_count< Ftor >::operator() | ( | const first_argument_type & | aX, | |
| const second_argument_type & | aY | |||
| ) | [inline] |
| bool rpa::binary_function_count< Ftor >::operator== | ( | const binary_function_count< Ftor > & | aUFC | ) | const [inline] |
atom_type::atomic_type rpa::binary_function_count< Ftor >::_cnt [private] |
1.4.7