现代C++函数编程模式

时间:2021-07-16 20:37:36
【文件属性】:

文件名称:现代C++函数编程模式

文件大小:71KB

文件格式:ZIP

更新时间:2021-07-16 20:37:36

c++ 函数式编程 编程模型 编程模式

本文档介绍了c++11之后添加的函数式编程特性,令C++除了面向对象编程之外还可用函数式编程,更加适合多线程并发的编程场景.


【文件预览】:
Learning-Modern-CPlusPlus-Functional-Programming-master
----Section04()
--------permutation()
--------factorial_recursion()
--------exponential_iteration()
--------factorial_iteration_for()
--------fibonacci_iteration()
--------factorial_iteration_do_while()
--------labyrinth()
--------tail_recursion()
--------factorial_recursion_tail()
--------fibonacci_recursion()
--------tail_recursion_goto()
--------exponential_recursion()
----Section03()
--------first_class_pure_immutable()
--------mutable_1()
--------immutable_2()
--------const_error()
--------immutableemployee()
--------mutable_2()
--------immutable_1()
--------const()
--------immutable_3()
--------mutableemployee()
--------mutable_3()
--------mutable_2a()
----Section02()
--------filter_2()
--------first_class_1()
--------fold_1()
--------curry_2()
--------first_class_2()
--------pure_function_1()
--------transform_1()
--------filter_1()
--------curry_1()
--------first_class_3()
--------impure_function_1()
--------first_class_4()
--------fold_2()
--------im_pure_function_1()
----LICENSE(1KB)
----README.md(4KB)
----Section05()
--------prime()
--------delaying()
--------delaying_non_pure_memoization()
--------non_strict()
--------delaying_non_pure()
--------strict()
----Section01()
--------lambda_returning_value()
--------lambda_tiny_func()
--------lambda_initialization_captures()
--------lambda_expression_generic()
--------lambda_capturing_by_reference()
--------lambda_capturing_by_value_mutable()
--------lambda_capturing_by_value()
--------lambda_multiline_func()
----Section06()
--------Step02()
--------Step04()
--------Step01()
--------Step03()

网友评论