MCPcopy Create free account

hub / github.com/BartVandewoestyne/Effective-Modern-Cpp / functions

Functions362 in github.com/BartVandewoestyne/Effective-Modern-Cpp

↓ 26 callersFunctionmove
C++14 only; still
Item23_Understand_std_move_and_std_forward/std_move_in_cpp14.cpp:13
↓ 6 callersFunctionfunc
Item33_Use_decltype_on_autorr_parameters_to_std_forward_them/item35.cpp:10
↓ 5 callersFunctionf
Item30_Familiarize_yourself_with_perfect_forwarding_failure_cases/null_pointers.cpp:18
↓ 5 callersMethodisArchived
Item32_Use_init_capture_to_move_objects_into_closures/Widget.cpp:5
↓ 5 callersMethodisValidated
Item32_Use_init_capture_to_move_objects_into_closures/Widget.cpp:3
↓ 5 callersMethodxValue
Item15_Use_constexpr_whenever_possible/Point_cpp14.h:16
↓ 5 callersMethodyValue
Item15_Use_constexpr_whenever_possible/Point_cpp14.h:17
↓ 4 callersFunctionf
Item30_Familiarize_yourself_with_perfect_forwarding_failure_cases/bitfields.cpp:25
↓ 4 callersFunctionf
Item01_Understand_template_type_deduction/case3_pass_by_value.cpp:21
↓ 4 callersFunctionf
Item01_Understand_template_type_deduction/case2_uref.cpp:21
↓ 4 callersFunctionlogAndAdd
Item26_Avoid_overloading_on_universal_references/logAndAdd_with_uref_overloaded.cpp:37
↓ 4 callersFunctionmakeLogEntry
Item18_Use_std_unique_ptr_for_exclusive-ownership_resource_management/utils.h:8
↓ 3 callersFunctioncomputeDivisor
Item31_Avoid_default_capture_modes/by_reference_capture.cpp:25
↓ 3 callersFunctioncomputePriority
Item21_Prefer_std_make_unique_and_std_make_shared_to_direct_use_of_new/limitations_of_make_functions.cpp:27
↓ 3 callersFunctioncomputeSomeValue1
Item31_Avoid_default_capture_modes/by_reference_capture.cpp:15
↓ 3 callersFunctioncomputeSomeValue2
Item31_Avoid_default_capture_modes/by_reference_capture.cpp:20
↓ 3 callersFunctionf
Item30_Familiarize_yourself_with_perfect_forwarding_failure_cases/braced_initializers.cpp:13
↓ 3 callersFunctionf
Three overloads of f
Item08_Prefer_nullptr_to_0_and_NULL/pointer_overload.cpp:11
↓ 3 callersFunctionf
Item01_Understand_template_type_deduction/case1_non_const.cpp:19
↓ 3 callersFunctionf
Item01_Understand_template_type_deduction/case1_const.cpp:24
↓ 3 callersFunctionfeatures
Item06_Use_the_explicitly_typed_initializer_idiom_when_auto_deduces_undesired_types/invisible_proxy_types.cpp:18
↓ 3 callersFunctionlogAndAdd
Item26_Avoid_overloading_on_universal_references/logAndAdd_with_uref.cpp:22
↓ 3 callersFunctionlogAndAdd
Item26_Avoid_overloading_on_universal_references/logAndAdd_inefficient.cpp:20
↓ 3 callersFunctionmakeLogentry
Item19_Use_std_shared_ptr_for_shared-ownership_resource_management/shared_ptr_things_to_know.cpp:23
↓ 3 callersFunctionnormalize
Item33_Use_decltype_on_autorr_parameters_to_std_forward_them/item35.cpp:9
↓ 3 callersFunctionprocessWidget
Item06_Use_the_explicitly_typed_initializer_idiom_when_auto_deduces_undesired_types/invisible_proxy_types.cpp:13
↓ 3 callersFunctionprocessWidget
Item21_Prefer_std_make_unique_and_std_make_shared_to_direct_use_of_new/limitations_of_make_functions.cpp:22
↓ 2 callersFunctionauthAndAccess
final
Item03_Understand_decltype/uref_cpp11.h:13
↓ 2 callersFunctionauthenticateUser
Item03_Understand_decltype/uref_cpp11.h:10
↓ 2 callersFunctioncalcEpsilon
Item06_Use_the_explicitly_typed_initializer_idiom_when_auto_deduces_undesired_types/explicitly_typed_initializer_idiom.cpp:18
↓ 2 callersFunctioncomputePriority
Item21_Prefer_std_make_unique_and_std_make_shared_to_direct_use_of_new/reasons_for_preferring_make_functions.cpp:23
↓ 2 callersFunctionconditionsAreSatisfied
Item37_Make_std_threads_unjoinable_on_all_paths/utils.h:4
↓ 2 callersMethoddoWork
Item12_Declare_overriding_functions_override/reference_qualifiers_example.cpp:14
↓ 2 callersFunctionf
Item30_Familiarize_yourself_with_perfect_forwarding_failure_cases/declaration-only_integral_static_const_data_members.cpp:10
↓ 2 callersFunctionf
void f(int (*pf)(int)); // pf = "processing function"
Item30_Familiarize_yourself_with_perfect_forwarding_failure_cases/overloaded_function_names_and_template_names.cpp:15
↓ 2 callersFunctionf
Item01_Understand_template_type_deduction/case1_pointer.cpp:22
↓ 2 callersFunctionf
Item24_Distinguish_universal_references_from_rvalue_references/urefs_initialization.cpp:11
↓ 2 callersFunctionfindRecord
Item08_Prefer_nullptr_to_0_and_NULL/code_clarity.cpp:8
↓ 2 callersFunctionfunc
Item28_Understand_reference_collapsing/reference_collapsing_contexts01.h:9
↓ 2 callersFunctionfwd
Item30_Familiarize_yourself_with_perfect_forwarding_failure_cases/overloaded_function_names_and_template_names.cpp:31
↓ 2 callersFunctionlog
Item26_Avoid_overloading_on_universal_references/logAndAdd_with_uref_overloaded.cpp:25
↓ 2 callersFunctionlogAndProcess
template that passes
Item23_Understand_std_move_and_std_forward/typical_use_of_std_forward.h:24
↓ 2 callersFunctionmakeInvestment
revised
Item18_Use_std_unique_ptr_for_exclusive-ownership_resource_management/investments_cpp11.cpp:19
↓ 2 callersFunctionmakeInvestment
Item18_Use_std_unique_ptr_for_exclusive-ownership_resource_management/investments_cpp14.cpp:15
↓ 2 callersFunctionmakeLogEntry
Item17_Understand_special_member_function_generation/StringTable02.cpp:14
↓ 2 callersFunctionperformComputation
Item37_Make_std_threads_unjoinable_on_all_paths/utils.h:10
↓ 2 callersFunctionpow
Item15_Use_constexpr_whenever_possible/constexpr_functions_cpp11.cpp:20
↓ 2 callersFunctionpow
Item15_Use_constexpr_whenever_possible/constexpr_functions_cpp14.cpp:15
↓ 2 callersFunctionprocessWidget
Item21_Prefer_std_make_unique_and_std_make_shared_to_direct_use_of_new/reasons_for_preferring_make_functions.cpp:18
↓ 2 callersFunctionreadFromDB
Item15_Use_constexpr_whenever_possible/constexpr_functions_cpp11.cpp:15
↓ 2 callersFunctionreadFromDB
Item15_Use_constexpr_whenever_possible/constexpr_functions_cpp14.cpp:10
↓ 2 callersMethodroots
Item16_Make_const_member_functions_thread-safe/Polynomial2.h:14
↓ 2 callersMethodsetName
Item25_Use_std_move_on_rvalue_references_std_forward_on_universal_references/dont_use_move_with_urefs_solution.cpp:27
↓ 2 callersFunctionwidgetFactory
Item28_Understand_reference_collapsing/reference_collapsing_contexts01.h:6
↓ 1 callersMethodaddFilter
Item31_Avoid_default_capture_modes/Widget.cpp:4
↓ 1 callersFunctionarraySize
see info
Item01_Understand_template_type_deduction/deduce_nb_array_elements.cpp:15
↓ 1 callersFunctionauthenticateUser
Item03_Understand_decltype/compute_function_return_type_cpp11.h:8
↓ 1 callersFunctionauthenticateUser
Item03_Understand_decltype/decltype_auto_for_function_return_types_cpp14.cpp:10
↓ 1 callersFunctionauthenticateUser
Item03_Understand_decltype/uref_cpp14.h:11
↓ 1 callersFunctioncbegin
Item13_Prefer_const_iterators_to_iterators/non_member_cbegin.h:11
↓ 1 callersFunctioncreateVec
Item04_Know_how_to_view_deduced_types/runtime_output02.cpp:31
↓ 1 callersFunctioncreateVec
Item04_Know_how_to_view_deduced_types/boost_type_index.cpp:32
↓ 1 callersFunctiondoWork
Item14_Declare_functions_noexcept_if_they_wont_emit_exceptions/inconsistencies.cpp:11
↓ 1 callersFunctiondoWork
Item37_Make_std_threads_unjoinable_on_all_paths/example2.cpp:13
↓ 1 callersFunctiondoWork
Item37_Make_std_threads_unjoinable_on_all_paths/example1.cpp:22
↓ 1 callersMethoddoWork
Item12_Declare_overriding_functions_override/overriding_explained.cpp:13
↓ 1 callersFunctionexpensiveComputation1
Item16_Make_const_member_functions_thread-safe/Widget3.h:12
↓ 1 callersFunctionexpensiveComputation1
Item16_Make_const_member_functions_thread-safe/Widget1.h:8
↓ 1 callersFunctionexpensiveComputation1
Item16_Make_const_member_functions_thread-safe/Widget2.h:9
↓ 1 callersFunctionexpensiveComputation2
Item16_Make_const_member_functions_thread-safe/Widget3.h:13
↓ 1 callersFunctionexpensiveComputation2
Item16_Make_const_member_functions_thread-safe/Widget1.h:9
↓ 1 callersFunctionexpensiveComputation2
Item16_Make_const_member_functions_thread-safe/Widget2.h:10
↓ 1 callersFunctionf
Item01_Understand_template_type_deduction/arrays_by_reference.cpp:15
↓ 1 callersFunctionf
Item01_Understand_template_type_deduction/arrays_by_value.cpp:10
↓ 1 callersFunctionf
Item01_Understand_template_type_deduction/pinch_of_pseudocode.cpp:15
↓ 1 callersFunctionf
template function to
Item04_Know_how_to_view_deduced_types/runtime_output02.cpp:19
↓ 1 callersFunctionf
Item04_Know_how_to_view_deduced_types/boost_type_index.cpp:16
↓ 1 callersFunctionf1
Item08_Prefer_nullptr_to_0_and_NULL/template_example_flat.cpp:15
↓ 1 callersFunctionf1
Item01_Understand_template_type_deduction/function-to-pointer_decay_rule.cpp:13
↓ 1 callersFunctionf2
Item02_Understand_auto_type_deduction/auto_deduction_vs_template_deduction.cpp:15
↓ 1 callersFunctionf2
call these only when
Item08_Prefer_nullptr_to_0_and_NULL/template_example_flat.cpp:16
↓ 1 callersFunctionf2
Item01_Understand_template_type_deduction/function-to-pointer_decay_rule.cpp:16
↓ 1 callersFunctionf3
the appropriate
Item08_Prefer_nullptr_to_0_and_NULL/template_example_flat.cpp:17
↓ 1 callersFunctionfindAndInsert
Item13_Prefer_const_iterators_to_iterators/insertion_cpp14.cpp:15
↓ 1 callersFunctionfunc_for_cx
conceptual template for
Item02_Understand_auto_type_deduction/auto_type_deduction.cpp:12
↓ 1 callersFunctionfunc_for_rx
conceptual template for
Item02_Understand_auto_type_deduction/auto_type_deduction.cpp:15
↓ 1 callersFunctionfunc_for_x
conceptual template for
Item02_Understand_auto_type_deduction/auto_type_deduction.cpp:9
↓ 1 callersFunctionfwd
Item30_Familiarize_yourself_with_perfect_forwarding_failure_cases/braced_initializers.cpp:18
↓ 1 callersFunctionfwd
Item30_Familiarize_yourself_with_perfect_forwarding_failure_cases/null_pointers.cpp:23
↓ 1 callersFunctionfwd
Item30_Familiarize_yourself_with_perfect_forwarding_failure_cases/bitfields.cpp:28
↓ 1 callersFunctiongetWidgetName
Item25_Use_std_move_on_rvalue_references_std_forward_on_universal_references/dont_use_move_with_urefs.cpp:11
↓ 1 callersFunctiongetWidgetName
Item25_Use_std_move_on_rvalue_references_std_forward_on_universal_references/dont_use_move_with_urefs_solution.cpp:19
↓ 1 callersFunctionloadWidget
Item20_Use_std_weak_ptr_for_std_shared_ptr-like_pointers_that_can_dangle/creation.cpp:15
↓ 1 callersFunctionlockAndCall
Item08_Prefer_nullptr_to_0_and_NULL/template_example_templatized.cpp:26
↓ 1 callersFunctionlockAndCall
Item08_Prefer_nullptr_to_0_and_NULL/template_example_templatized_cpp14.cpp:25
↓ 1 callersFunctionlog
Item27_Familiarize_yourself_with_alternatives_to_overloading_on_universal_references/tag_dispatch01.cpp:14
↓ 1 callersFunctionlog
Item27_Familiarize_yourself_with_alternatives_to_overloading_on_universal_references/tag_dispatch02.cpp:21
↓ 1 callersFunctionlog
Item26_Avoid_overloading_on_universal_references/logAndAdd_with_uref.cpp:16
↓ 1 callersFunctionlog
Item26_Avoid_overloading_on_universal_references/logAndAdd_inefficient.cpp:15
↓ 1 callersFunctionlogAndAdd
Item27_Familiarize_yourself_with_alternatives_to_overloading_on_universal_references/tag_dispatch02.cpp:35
next →1–100 of 362, ranked by callers