#include <utils.h>
Public Types | |
| typedef F1::result_type | result_type |
| the functor's second argument type | |
Public Member Functions | |
| NestFunctor (const F1 &fu1, const F2 &fu2) | |
| template<class T1> | |
| result_type | operator() (T1 const &v) const |
| template<class T1, class T2> | |
| result_type | operator() (T1 const &v1, T2 const &v2) const |
| if F2 takes 2 arguments | |
| template<class T1, class T2, class T3> | |
| result_type | operator() (T1 const &v1, T2 const &v2, T3 const &v3) const |
| if F2 takes 3 arguments | |
Public Attributes | |
| F1 | f1 |
| F2 | f2 |
The functors are copied, so there is no way to get their internal state after they have been applied.
This is quite useful for multithreaded processing.
Definition at line 324 of file utils.h.
|
|||||
|
the functor's second argument type
|
|
||||||||||||||||
|
|
|
||||||||||||||||||||||||
|
if F2 takes 3 arguments
|
|
||||||||||||||||||||
|
if F2 takes 2 arguments
|
|
||||||||||||||
|
|
|
|||||
|
|
|
|||||
|
|
1.3.9.1