Gobelijn API documentation  - generated for commit a0cbea7
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
lambda-functor.cpp File Reference
#include <functional>
#include <iostream>
Include dependency graph for lambda-functor.cpp:

Go to the source code of this file.

Functions

std::function< int(int)> makeCountingAdder (int &counter)
 
int main ()
 

Function Documentation

std::function<int(int)> makeCountingAdder ( int &  counter)

Definition at line 6 of file lambda-functor.cpp.

Referenced by main().

Here is the caller graph for this function:

int main ( )

Definition at line 15 of file lambda-functor.cpp.

References makeCountingAdder().

Here is the call graph for this function: