├── README.md ├── appendixB_lambdatop6 ├── ex6_1_functional_composition.cpp ├── ex6_2_cleaner_syntax.cpp ├── ex6_3_build_bench_with_cout.cpp ├── ex6_4_build_bench_with_algorithms.cpp ├── ex6_5_capturing_state.cpp ├── ex6_6_the_overloaded_pattern.cpp └── ex6_7_runtime_polymorphism.cpp ├── chapter1_cpp03 ├── ex1_1_basic_print.cpp ├── ex1_2_print_object_type.cpp ├── ex1_3_function_object_state.cpp ├── ex1_4_function_object_capture.cpp ├── ex1_5_functional_helpers.cpp └── ex1_6_composing_functional_helpers.cpp ├── chapter2_cpp11 ├── ex2_10_returning_a_lambda.cpp ├── ex2_11_preserving_const.cpp ├── ex2_12_capturing_a_variadic_pack.cpp ├── ex2_13_return_type_deduction.cpp ├── ex2_14_returning_a_string_literal_err.cpp ├── ex2_15_conversion_to_a_function_pointer.cpp ├── ex2_16_calling_c_style.cpp ├── ex2_17_plus_and_lambda.cpp ├── ex2_18_casting_to_function_pointer.cpp ├── ex2_19_calling_lambda_immediately.cpp ├── ex2_1_lambda_and_function_obj.cpp ├── ex2_20_iife_and_html.cpp ├── ex2_21_inheriting_from_single_lambda.cpp ├── ex2_22_inheriting_from_two_lambdas.cpp ├── ex2_23_deriving_from_two_classes_error.cpp ├── ex2_24_storing_lambdas_as_function_pointers.cpp ├── ex2_25_storing_lambdas_as_std_function.cpp ├── ex2_2_diff_types.cpp ├── ex2_3_std_function_and auto.cpp ├── ex2_4_copying_lambdas.cpp ├── ex2_5_capturing_by_copy.cpp ├── ex2_6_invocation_counter.cpp ├── ex2_7_capturing_globals.cpp ├── ex2_8_capturing_static.cpp └── ex2_9_error_when_capturing.cpp ├── chapter3_cpp14 ├── ex3_10_generic_variadic_lambda.cpp ├── ex3_11_perfect_forwarding.cpp ├── ex3_12_correct_type_for_map_iteration.cpp ├── ex3_13_correct_type_for_map_iteration_full.cpp ├── ex3_14_replacing_with_std_bind.cpp ├── ex3_15_function_composition_with_bind.cpp ├── ex3_16_generic_lambda_function_overload.cpp ├── ex3_17_recursion_with_regular_function.cpp ├── ex3_18_errors_with_recursive_lambda.cpp ├── ex3_19_recursive_lambda_with_std_function.cpp ├── ex3_1_lambda_with_default_param.cpp ├── ex3_20_recursive_lambda_with_internal_impl.cpp ├── ex3_2_returning_std_function.cpp ├── ex3_3_auto_return_type_deduction.cpp ├── ex3_4_capture_with_initialiser.cpp ├── ex3_5_reference_as_capture.cpp ├── ex3_6_capturing_movable.cpp ├── ex3_7_std_function_and_move.cpp ├── ex3_8_creating_string_for_lambda.cpp └── ex3_9_capturing_data_member.cpp ├── chapter4_cpp17 ├── ex4_10_simple_printer.cpp ├── ex4_11_printer_with_internal.cpp ├── ex4_12_printing_elements_without.cpp ├── ex4_13_the_overloaded_pattern.cpp ├── ex4_14_the_overloaded_with_variant.cpp ├── ex4_15_passing_lambda_to_thread.cpp ├── ex4_16_updating_shared_variable.cpp ├── ex4_17_changing_value_with_atomics.cpp ├── ex4_18_invoking_code_std_async.cpp ├── ex4_19_copying_into_vector_danger.cpp ├── ex4_1_exception_spec.cpp ├── ex4_2_detecting_if_callable.cpp ├── ex4_3_constexpr_lambda_accumulate.cpp ├── ex4_4_recursive_constexpr_lambda.cpp ├── ex4_5_capturing_constexpr.cpp ├── ex4_6_capturing_this.cpp ├── ex4_7_invoke_example.cpp ├── ex4_8_students_marks.cpp └── ex4_9_sum_with_fold.cpp └── chapter5_cpp20 ├── ex5_1_capturing_structured_binding.cpp ├── ex5_2_implicit_this_capture_warning.cpp ├── ex5_3_simple_immediate_lambda.cpp ├── ex5_4_capturing_variadic_pack.cpp ├── ex5_5_implementation_irenderable_concept.cpp ├── ex5_6_stateless_lambda.cpp ├── ex5_6_storing_stateless_lambda.cpp ├── ex5_8_using_accumulate.cpp └── ex5_9_passing_constexpr_lambda.cpp /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/README.md -------------------------------------------------------------------------------- /appendixB_lambdatop6/ex6_1_functional_composition.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/appendixB_lambdatop6/ex6_1_functional_composition.cpp -------------------------------------------------------------------------------- /appendixB_lambdatop6/ex6_2_cleaner_syntax.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/appendixB_lambdatop6/ex6_2_cleaner_syntax.cpp -------------------------------------------------------------------------------- /appendixB_lambdatop6/ex6_3_build_bench_with_cout.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/appendixB_lambdatop6/ex6_3_build_bench_with_cout.cpp -------------------------------------------------------------------------------- /appendixB_lambdatop6/ex6_4_build_bench_with_algorithms.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/appendixB_lambdatop6/ex6_4_build_bench_with_algorithms.cpp -------------------------------------------------------------------------------- /appendixB_lambdatop6/ex6_5_capturing_state.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/appendixB_lambdatop6/ex6_5_capturing_state.cpp -------------------------------------------------------------------------------- /appendixB_lambdatop6/ex6_6_the_overloaded_pattern.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/appendixB_lambdatop6/ex6_6_the_overloaded_pattern.cpp -------------------------------------------------------------------------------- /appendixB_lambdatop6/ex6_7_runtime_polymorphism.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/appendixB_lambdatop6/ex6_7_runtime_polymorphism.cpp -------------------------------------------------------------------------------- /chapter1_cpp03/ex1_1_basic_print.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter1_cpp03/ex1_1_basic_print.cpp -------------------------------------------------------------------------------- /chapter1_cpp03/ex1_2_print_object_type.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter1_cpp03/ex1_2_print_object_type.cpp -------------------------------------------------------------------------------- /chapter1_cpp03/ex1_3_function_object_state.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter1_cpp03/ex1_3_function_object_state.cpp -------------------------------------------------------------------------------- /chapter1_cpp03/ex1_4_function_object_capture.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter1_cpp03/ex1_4_function_object_capture.cpp -------------------------------------------------------------------------------- /chapter1_cpp03/ex1_5_functional_helpers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter1_cpp03/ex1_5_functional_helpers.cpp -------------------------------------------------------------------------------- /chapter1_cpp03/ex1_6_composing_functional_helpers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter1_cpp03/ex1_6_composing_functional_helpers.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_10_returning_a_lambda.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_10_returning_a_lambda.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_11_preserving_const.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_11_preserving_const.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_12_capturing_a_variadic_pack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_12_capturing_a_variadic_pack.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_13_return_type_deduction.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_13_return_type_deduction.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_14_returning_a_string_literal_err.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_14_returning_a_string_literal_err.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_15_conversion_to_a_function_pointer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_15_conversion_to_a_function_pointer.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_16_calling_c_style.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_16_calling_c_style.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_17_plus_and_lambda.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_17_plus_and_lambda.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_18_casting_to_function_pointer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_18_casting_to_function_pointer.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_19_calling_lambda_immediately.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_19_calling_lambda_immediately.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_1_lambda_and_function_obj.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_1_lambda_and_function_obj.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_20_iife_and_html.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_20_iife_and_html.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_21_inheriting_from_single_lambda.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_21_inheriting_from_single_lambda.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_22_inheriting_from_two_lambdas.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_22_inheriting_from_two_lambdas.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_23_deriving_from_two_classes_error.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_23_deriving_from_two_classes_error.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_24_storing_lambdas_as_function_pointers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_24_storing_lambdas_as_function_pointers.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_25_storing_lambdas_as_std_function.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_25_storing_lambdas_as_std_function.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_2_diff_types.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_2_diff_types.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_3_std_function_and auto.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_3_std_function_and auto.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_4_copying_lambdas.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_4_copying_lambdas.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_5_capturing_by_copy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_5_capturing_by_copy.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_6_invocation_counter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_6_invocation_counter.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_7_capturing_globals.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_7_capturing_globals.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_8_capturing_static.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_8_capturing_static.cpp -------------------------------------------------------------------------------- /chapter2_cpp11/ex2_9_error_when_capturing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter2_cpp11/ex2_9_error_when_capturing.cpp -------------------------------------------------------------------------------- /chapter3_cpp14/ex3_10_generic_variadic_lambda.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter3_cpp14/ex3_10_generic_variadic_lambda.cpp -------------------------------------------------------------------------------- /chapter3_cpp14/ex3_11_perfect_forwarding.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter3_cpp14/ex3_11_perfect_forwarding.cpp -------------------------------------------------------------------------------- /chapter3_cpp14/ex3_12_correct_type_for_map_iteration.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter3_cpp14/ex3_12_correct_type_for_map_iteration.cpp -------------------------------------------------------------------------------- /chapter3_cpp14/ex3_13_correct_type_for_map_iteration_full.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter3_cpp14/ex3_13_correct_type_for_map_iteration_full.cpp -------------------------------------------------------------------------------- /chapter3_cpp14/ex3_14_replacing_with_std_bind.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter3_cpp14/ex3_14_replacing_with_std_bind.cpp -------------------------------------------------------------------------------- /chapter3_cpp14/ex3_15_function_composition_with_bind.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter3_cpp14/ex3_15_function_composition_with_bind.cpp -------------------------------------------------------------------------------- /chapter3_cpp14/ex3_16_generic_lambda_function_overload.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter3_cpp14/ex3_16_generic_lambda_function_overload.cpp -------------------------------------------------------------------------------- /chapter3_cpp14/ex3_17_recursion_with_regular_function.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter3_cpp14/ex3_17_recursion_with_regular_function.cpp -------------------------------------------------------------------------------- /chapter3_cpp14/ex3_18_errors_with_recursive_lambda.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter3_cpp14/ex3_18_errors_with_recursive_lambda.cpp -------------------------------------------------------------------------------- /chapter3_cpp14/ex3_19_recursive_lambda_with_std_function.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter3_cpp14/ex3_19_recursive_lambda_with_std_function.cpp -------------------------------------------------------------------------------- /chapter3_cpp14/ex3_1_lambda_with_default_param.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter3_cpp14/ex3_1_lambda_with_default_param.cpp -------------------------------------------------------------------------------- /chapter3_cpp14/ex3_20_recursive_lambda_with_internal_impl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter3_cpp14/ex3_20_recursive_lambda_with_internal_impl.cpp -------------------------------------------------------------------------------- /chapter3_cpp14/ex3_2_returning_std_function.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter3_cpp14/ex3_2_returning_std_function.cpp -------------------------------------------------------------------------------- /chapter3_cpp14/ex3_3_auto_return_type_deduction.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter3_cpp14/ex3_3_auto_return_type_deduction.cpp -------------------------------------------------------------------------------- /chapter3_cpp14/ex3_4_capture_with_initialiser.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter3_cpp14/ex3_4_capture_with_initialiser.cpp -------------------------------------------------------------------------------- /chapter3_cpp14/ex3_5_reference_as_capture.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter3_cpp14/ex3_5_reference_as_capture.cpp -------------------------------------------------------------------------------- /chapter3_cpp14/ex3_6_capturing_movable.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter3_cpp14/ex3_6_capturing_movable.cpp -------------------------------------------------------------------------------- /chapter3_cpp14/ex3_7_std_function_and_move.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter3_cpp14/ex3_7_std_function_and_move.cpp -------------------------------------------------------------------------------- /chapter3_cpp14/ex3_8_creating_string_for_lambda.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter3_cpp14/ex3_8_creating_string_for_lambda.cpp -------------------------------------------------------------------------------- /chapter3_cpp14/ex3_9_capturing_data_member.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter3_cpp14/ex3_9_capturing_data_member.cpp -------------------------------------------------------------------------------- /chapter4_cpp17/ex4_10_simple_printer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter4_cpp17/ex4_10_simple_printer.cpp -------------------------------------------------------------------------------- /chapter4_cpp17/ex4_11_printer_with_internal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter4_cpp17/ex4_11_printer_with_internal.cpp -------------------------------------------------------------------------------- /chapter4_cpp17/ex4_12_printing_elements_without.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter4_cpp17/ex4_12_printing_elements_without.cpp -------------------------------------------------------------------------------- /chapter4_cpp17/ex4_13_the_overloaded_pattern.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter4_cpp17/ex4_13_the_overloaded_pattern.cpp -------------------------------------------------------------------------------- /chapter4_cpp17/ex4_14_the_overloaded_with_variant.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter4_cpp17/ex4_14_the_overloaded_with_variant.cpp -------------------------------------------------------------------------------- /chapter4_cpp17/ex4_15_passing_lambda_to_thread.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter4_cpp17/ex4_15_passing_lambda_to_thread.cpp -------------------------------------------------------------------------------- /chapter4_cpp17/ex4_16_updating_shared_variable.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter4_cpp17/ex4_16_updating_shared_variable.cpp -------------------------------------------------------------------------------- /chapter4_cpp17/ex4_17_changing_value_with_atomics.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter4_cpp17/ex4_17_changing_value_with_atomics.cpp -------------------------------------------------------------------------------- /chapter4_cpp17/ex4_18_invoking_code_std_async.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter4_cpp17/ex4_18_invoking_code_std_async.cpp -------------------------------------------------------------------------------- /chapter4_cpp17/ex4_19_copying_into_vector_danger.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter4_cpp17/ex4_19_copying_into_vector_danger.cpp -------------------------------------------------------------------------------- /chapter4_cpp17/ex4_1_exception_spec.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter4_cpp17/ex4_1_exception_spec.cpp -------------------------------------------------------------------------------- /chapter4_cpp17/ex4_2_detecting_if_callable.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter4_cpp17/ex4_2_detecting_if_callable.cpp -------------------------------------------------------------------------------- /chapter4_cpp17/ex4_3_constexpr_lambda_accumulate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter4_cpp17/ex4_3_constexpr_lambda_accumulate.cpp -------------------------------------------------------------------------------- /chapter4_cpp17/ex4_4_recursive_constexpr_lambda.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter4_cpp17/ex4_4_recursive_constexpr_lambda.cpp -------------------------------------------------------------------------------- /chapter4_cpp17/ex4_5_capturing_constexpr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter4_cpp17/ex4_5_capturing_constexpr.cpp -------------------------------------------------------------------------------- /chapter4_cpp17/ex4_6_capturing_this.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter4_cpp17/ex4_6_capturing_this.cpp -------------------------------------------------------------------------------- /chapter4_cpp17/ex4_7_invoke_example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter4_cpp17/ex4_7_invoke_example.cpp -------------------------------------------------------------------------------- /chapter4_cpp17/ex4_8_students_marks.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter4_cpp17/ex4_8_students_marks.cpp -------------------------------------------------------------------------------- /chapter4_cpp17/ex4_9_sum_with_fold.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter4_cpp17/ex4_9_sum_with_fold.cpp -------------------------------------------------------------------------------- /chapter5_cpp20/ex5_1_capturing_structured_binding.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter5_cpp20/ex5_1_capturing_structured_binding.cpp -------------------------------------------------------------------------------- /chapter5_cpp20/ex5_2_implicit_this_capture_warning.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter5_cpp20/ex5_2_implicit_this_capture_warning.cpp -------------------------------------------------------------------------------- /chapter5_cpp20/ex5_3_simple_immediate_lambda.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter5_cpp20/ex5_3_simple_immediate_lambda.cpp -------------------------------------------------------------------------------- /chapter5_cpp20/ex5_4_capturing_variadic_pack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter5_cpp20/ex5_4_capturing_variadic_pack.cpp -------------------------------------------------------------------------------- /chapter5_cpp20/ex5_5_implementation_irenderable_concept.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter5_cpp20/ex5_5_implementation_irenderable_concept.cpp -------------------------------------------------------------------------------- /chapter5_cpp20/ex5_6_stateless_lambda.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter5_cpp20/ex5_6_stateless_lambda.cpp -------------------------------------------------------------------------------- /chapter5_cpp20/ex5_6_storing_stateless_lambda.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter5_cpp20/ex5_6_storing_stateless_lambda.cpp -------------------------------------------------------------------------------- /chapter5_cpp20/ex5_8_using_accumulate.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter5_cpp20/ex5_8_using_accumulate.cpp -------------------------------------------------------------------------------- /chapter5_cpp20/ex5_9_passing_constexpr_lambda.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fenbf/cpplambdastory-code/HEAD/chapter5_cpp20/ex5_9_passing_constexpr_lambda.cpp --------------------------------------------------------------------------------