mirror of
https://github.com/triqs/dft_tools
synced 2024-12-29 07:35:47 +01:00
15 lines
367 B
ReStructuredText
15 lines
367 B
ReStructuredText
|
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....
|
||
|
|
||
|
|
||
|
|
||
|
|