Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BartVandewoestyne/Effective-Modern-Cpp
/ functions
Functions
362 in github.com/BartVandewoestyne/Effective-Modern-Cpp
⨍
Functions
362
◇
Types & classes
156
↓ 26 callers
Function
move
C++14 only; still
Item23_Understand_std_move_and_std_forward/std_move_in_cpp14.cpp:13
↓ 6 callers
Function
func
Item33_Use_decltype_on_autorr_parameters_to_std_forward_them/item35.cpp:10
↓ 5 callers
Function
f
Item30_Familiarize_yourself_with_perfect_forwarding_failure_cases/null_pointers.cpp:18
↓ 5 callers
Method
isArchived
Item32_Use_init_capture_to_move_objects_into_closures/Widget.cpp:5
↓ 5 callers
Method
isValidated
Item32_Use_init_capture_to_move_objects_into_closures/Widget.cpp:3
↓ 5 callers
Method
xValue
Item15_Use_constexpr_whenever_possible/Point_cpp14.h:16
↓ 5 callers
Method
yValue
Item15_Use_constexpr_whenever_possible/Point_cpp14.h:17
↓ 4 callers
Function
f
Item30_Familiarize_yourself_with_perfect_forwarding_failure_cases/bitfields.cpp:25
↓ 4 callers
Function
f
Item01_Understand_template_type_deduction/case3_pass_by_value.cpp:21
↓ 4 callers
Function
f
Item01_Understand_template_type_deduction/case2_uref.cpp:21
↓ 4 callers
Function
logAndAdd
Item26_Avoid_overloading_on_universal_references/logAndAdd_with_uref_overloaded.cpp:37
↓ 4 callers
Function
makeLogEntry
Item18_Use_std_unique_ptr_for_exclusive-ownership_resource_management/utils.h:8
↓ 3 callers
Function
computeDivisor
Item31_Avoid_default_capture_modes/by_reference_capture.cpp:25
↓ 3 callers
Function
computePriority
Item21_Prefer_std_make_unique_and_std_make_shared_to_direct_use_of_new/limitations_of_make_functions.cpp:27
↓ 3 callers
Function
computeSomeValue1
Item31_Avoid_default_capture_modes/by_reference_capture.cpp:15
↓ 3 callers
Function
computeSomeValue2
Item31_Avoid_default_capture_modes/by_reference_capture.cpp:20
↓ 3 callers
Function
f
Item30_Familiarize_yourself_with_perfect_forwarding_failure_cases/braced_initializers.cpp:13
↓ 3 callers
Function
f
Three overloads of f
Item08_Prefer_nullptr_to_0_and_NULL/pointer_overload.cpp:11
↓ 3 callers
Function
f
Item01_Understand_template_type_deduction/case1_non_const.cpp:19
↓ 3 callers
Function
f
Item01_Understand_template_type_deduction/case1_const.cpp:24
↓ 3 callers
Function
features
Item06_Use_the_explicitly_typed_initializer_idiom_when_auto_deduces_undesired_types/invisible_proxy_types.cpp:18
↓ 3 callers
Function
logAndAdd
Item26_Avoid_overloading_on_universal_references/logAndAdd_with_uref.cpp:22
↓ 3 callers
Function
logAndAdd
Item26_Avoid_overloading_on_universal_references/logAndAdd_inefficient.cpp:20
↓ 3 callers
Function
makeLogentry
Item19_Use_std_shared_ptr_for_shared-ownership_resource_management/shared_ptr_things_to_know.cpp:23
↓ 3 callers
Function
normalize
Item33_Use_decltype_on_autorr_parameters_to_std_forward_them/item35.cpp:9
↓ 3 callers
Function
processWidget
Item06_Use_the_explicitly_typed_initializer_idiom_when_auto_deduces_undesired_types/invisible_proxy_types.cpp:13
↓ 3 callers
Function
processWidget
Item21_Prefer_std_make_unique_and_std_make_shared_to_direct_use_of_new/limitations_of_make_functions.cpp:22
↓ 2 callers
Function
authAndAccess
final
Item03_Understand_decltype/uref_cpp11.h:13
↓ 2 callers
Function
authenticateUser
Item03_Understand_decltype/uref_cpp11.h:10
↓ 2 callers
Function
calcEpsilon
Item06_Use_the_explicitly_typed_initializer_idiom_when_auto_deduces_undesired_types/explicitly_typed_initializer_idiom.cpp:18
↓ 2 callers
Function
computePriority
Item21_Prefer_std_make_unique_and_std_make_shared_to_direct_use_of_new/reasons_for_preferring_make_functions.cpp:23
↓ 2 callers
Function
conditionsAreSatisfied
Item37_Make_std_threads_unjoinable_on_all_paths/utils.h:4
↓ 2 callers
Method
doWork
Item12_Declare_overriding_functions_override/reference_qualifiers_example.cpp:14
↓ 2 callers
Function
f
Item30_Familiarize_yourself_with_perfect_forwarding_failure_cases/declaration-only_integral_static_const_data_members.cpp:10
↓ 2 callers
Function
f
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 callers
Function
f
Item01_Understand_template_type_deduction/case1_pointer.cpp:22
↓ 2 callers
Function
f
Item24_Distinguish_universal_references_from_rvalue_references/urefs_initialization.cpp:11
↓ 2 callers
Function
findRecord
Item08_Prefer_nullptr_to_0_and_NULL/code_clarity.cpp:8
↓ 2 callers
Function
func
Item28_Understand_reference_collapsing/reference_collapsing_contexts01.h:9
↓ 2 callers
Function
fwd
Item30_Familiarize_yourself_with_perfect_forwarding_failure_cases/overloaded_function_names_and_template_names.cpp:31
↓ 2 callers
Function
log
Item26_Avoid_overloading_on_universal_references/logAndAdd_with_uref_overloaded.cpp:25
↓ 2 callers
Function
logAndProcess
template that passes
Item23_Understand_std_move_and_std_forward/typical_use_of_std_forward.h:24
↓ 2 callers
Function
makeInvestment
revised
Item18_Use_std_unique_ptr_for_exclusive-ownership_resource_management/investments_cpp11.cpp:19
↓ 2 callers
Function
makeInvestment
Item18_Use_std_unique_ptr_for_exclusive-ownership_resource_management/investments_cpp14.cpp:15
↓ 2 callers
Function
makeLogEntry
Item17_Understand_special_member_function_generation/StringTable02.cpp:14
↓ 2 callers
Function
performComputation
Item37_Make_std_threads_unjoinable_on_all_paths/utils.h:10
↓ 2 callers
Function
pow
Item15_Use_constexpr_whenever_possible/constexpr_functions_cpp11.cpp:20
↓ 2 callers
Function
pow
Item15_Use_constexpr_whenever_possible/constexpr_functions_cpp14.cpp:15
↓ 2 callers
Function
processWidget
Item21_Prefer_std_make_unique_and_std_make_shared_to_direct_use_of_new/reasons_for_preferring_make_functions.cpp:18
↓ 2 callers
Function
readFromDB
Item15_Use_constexpr_whenever_possible/constexpr_functions_cpp11.cpp:15
↓ 2 callers
Function
readFromDB
Item15_Use_constexpr_whenever_possible/constexpr_functions_cpp14.cpp:10
↓ 2 callers
Method
roots
Item16_Make_const_member_functions_thread-safe/Polynomial2.h:14
↓ 2 callers
Method
setName
Item25_Use_std_move_on_rvalue_references_std_forward_on_universal_references/dont_use_move_with_urefs_solution.cpp:27
↓ 2 callers
Function
widgetFactory
Item28_Understand_reference_collapsing/reference_collapsing_contexts01.h:6
↓ 1 callers
Method
addFilter
Item31_Avoid_default_capture_modes/Widget.cpp:4
↓ 1 callers
Function
arraySize
see info
Item01_Understand_template_type_deduction/deduce_nb_array_elements.cpp:15
↓ 1 callers
Function
authenticateUser
Item03_Understand_decltype/compute_function_return_type_cpp11.h:8
↓ 1 callers
Function
authenticateUser
Item03_Understand_decltype/decltype_auto_for_function_return_types_cpp14.cpp:10
↓ 1 callers
Function
authenticateUser
Item03_Understand_decltype/uref_cpp14.h:11
↓ 1 callers
Function
cbegin
Item13_Prefer_const_iterators_to_iterators/non_member_cbegin.h:11
↓ 1 callers
Function
createVec
Item04_Know_how_to_view_deduced_types/runtime_output02.cpp:31
↓ 1 callers
Function
createVec
Item04_Know_how_to_view_deduced_types/boost_type_index.cpp:32
↓ 1 callers
Function
doWork
Item14_Declare_functions_noexcept_if_they_wont_emit_exceptions/inconsistencies.cpp:11
↓ 1 callers
Function
doWork
Item37_Make_std_threads_unjoinable_on_all_paths/example2.cpp:13
↓ 1 callers
Function
doWork
Item37_Make_std_threads_unjoinable_on_all_paths/example1.cpp:22
↓ 1 callers
Method
doWork
Item12_Declare_overriding_functions_override/overriding_explained.cpp:13
↓ 1 callers
Function
expensiveComputation1
Item16_Make_const_member_functions_thread-safe/Widget3.h:12
↓ 1 callers
Function
expensiveComputation1
Item16_Make_const_member_functions_thread-safe/Widget1.h:8
↓ 1 callers
Function
expensiveComputation1
Item16_Make_const_member_functions_thread-safe/Widget2.h:9
↓ 1 callers
Function
expensiveComputation2
Item16_Make_const_member_functions_thread-safe/Widget3.h:13
↓ 1 callers
Function
expensiveComputation2
Item16_Make_const_member_functions_thread-safe/Widget1.h:9
↓ 1 callers
Function
expensiveComputation2
Item16_Make_const_member_functions_thread-safe/Widget2.h:10
↓ 1 callers
Function
f
Item01_Understand_template_type_deduction/arrays_by_reference.cpp:15
↓ 1 callers
Function
f
Item01_Understand_template_type_deduction/arrays_by_value.cpp:10
↓ 1 callers
Function
f
Item01_Understand_template_type_deduction/pinch_of_pseudocode.cpp:15
↓ 1 callers
Function
f
template function to
Item04_Know_how_to_view_deduced_types/runtime_output02.cpp:19
↓ 1 callers
Function
f
Item04_Know_how_to_view_deduced_types/boost_type_index.cpp:16
↓ 1 callers
Function
f1
Item08_Prefer_nullptr_to_0_and_NULL/template_example_flat.cpp:15
↓ 1 callers
Function
f1
Item01_Understand_template_type_deduction/function-to-pointer_decay_rule.cpp:13
↓ 1 callers
Function
f2
Item02_Understand_auto_type_deduction/auto_deduction_vs_template_deduction.cpp:15
↓ 1 callers
Function
f2
call these only when
Item08_Prefer_nullptr_to_0_and_NULL/template_example_flat.cpp:16
↓ 1 callers
Function
f2
Item01_Understand_template_type_deduction/function-to-pointer_decay_rule.cpp:16
↓ 1 callers
Function
f3
the appropriate
Item08_Prefer_nullptr_to_0_and_NULL/template_example_flat.cpp:17
↓ 1 callers
Function
findAndInsert
Item13_Prefer_const_iterators_to_iterators/insertion_cpp14.cpp:15
↓ 1 callers
Function
func_for_cx
conceptual template for
Item02_Understand_auto_type_deduction/auto_type_deduction.cpp:12
↓ 1 callers
Function
func_for_rx
conceptual template for
Item02_Understand_auto_type_deduction/auto_type_deduction.cpp:15
↓ 1 callers
Function
func_for_x
conceptual template for
Item02_Understand_auto_type_deduction/auto_type_deduction.cpp:9
↓ 1 callers
Function
fwd
Item30_Familiarize_yourself_with_perfect_forwarding_failure_cases/braced_initializers.cpp:18
↓ 1 callers
Function
fwd
Item30_Familiarize_yourself_with_perfect_forwarding_failure_cases/null_pointers.cpp:23
↓ 1 callers
Function
fwd
Item30_Familiarize_yourself_with_perfect_forwarding_failure_cases/bitfields.cpp:28
↓ 1 callers
Function
getWidgetName
Item25_Use_std_move_on_rvalue_references_std_forward_on_universal_references/dont_use_move_with_urefs.cpp:11
↓ 1 callers
Function
getWidgetName
Item25_Use_std_move_on_rvalue_references_std_forward_on_universal_references/dont_use_move_with_urefs_solution.cpp:19
↓ 1 callers
Function
loadWidget
Item20_Use_std_weak_ptr_for_std_shared_ptr-like_pointers_that_can_dangle/creation.cpp:15
↓ 1 callers
Function
lockAndCall
Item08_Prefer_nullptr_to_0_and_NULL/template_example_templatized.cpp:26
↓ 1 callers
Function
lockAndCall
Item08_Prefer_nullptr_to_0_and_NULL/template_example_templatized_cpp14.cpp:25
↓ 1 callers
Function
log
Item27_Familiarize_yourself_with_alternatives_to_overloading_on_universal_references/tag_dispatch01.cpp:14
↓ 1 callers
Function
log
Item27_Familiarize_yourself_with_alternatives_to_overloading_on_universal_references/tag_dispatch02.cpp:21
↓ 1 callers
Function
log
Item26_Avoid_overloading_on_universal_references/logAndAdd_with_uref.cpp:16
↓ 1 callers
Function
log
Item26_Avoid_overloading_on_universal_references/logAndAdd_inefficient.cpp:15
↓ 1 callers
Function
logAndAdd
Item27_Familiarize_yourself_with_alternatives_to_overloading_on_universal_references/tag_dispatch02.cpp:35
next →
1–100 of 362, ranked by callers