Public Member Functions | |
| Plus22 (size_t aMax) | |
| T | operator() (const T &a1, const T &a2) |
Private Attributes | |
| size_t | maxNb |
| T Plus22< T >::operator() | ( | const T & | a1, | |
| const T & | a2 | |||
| ) | [inline] |
This functor is used by rpa::accumulate. It makes a plain addition, very fast. So, it is very easy to calculate the overhead of the library.
cout << "Add " << a1 << "+" << a2 << "\n" ;
1.4.7