Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Structures | Functions
25.for.each.cpp File Reference
#include <algorithm>
#include <cstddef>
#include <rw_alg_test.h>
#include <rw_value.h>
#include <rw_driver.h>
Include dependency graph for 25.for.each.cpp:

Go to the source code of this file.

Data Structures

struct  FunctionBase
 
struct  ConstFunction
 
struct  MutableFunction
 

Functions

template<class InputIterator , class T , class Function >
void test_for_each (std::size_t N, InputIterator dummy, T *, Function *)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 238 of file 25.for.each.cpp.

◆ test_for_each()

template<class InputIterator , class T , class Function >
void test_for_each ( std::size_t  N,
InputIterator  dummy,
T *  ,
Function *   
)

Definition at line 90 of file 25.for.each.cpp.