3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-29 07:35:47 +01:00
dft_tools/doc/reference/c++/lectures/basic/functions.rst

15 lines
367 B
ReStructuredText
Raw Normal View History

Functions becomes first class citizens ...
#################################################
* functional programming : another paradigm ...
* std::function : store a function in a an object
* currifying: std::bind, std::placeholders.
* Do not USE function pointers....
* Function objects : wrap functions into an objects....
* lambda : example of use, STL....