Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 969 Bytes

File metadata and controls

48 lines (31 loc) · 969 Bytes

Functional

Shows how to use callback method with std::function, std::bind and lambda methods.

Source

Functional.cpp

fl_functional.h

CMakeLists.txt

Output

output

Generate and build

To build this project, open "Terminal" and type following lines:

Windows :

mkdir build && cd build
cmake .. 
start Functional.sln

Select Functional project and type Ctrl+F5 to build and run it.

macOS :

mkdir build && cd build
cmake .. -G "Xcode"
open ./Functional.xcodeproj

Select Functional project and type Cmd+R to build and run it.

Linux :

mkdir build && cd build
cmake .. 
cmake --build . --config Debug
./Functional