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
↓ 1 callers
Function
logAndAddImpl
non-integral
Item27_Familiarize_yourself_with_alternatives_to_overloading_on_universal_references/tag_dispatch02.cpp:27
↓ 1 callers
Method
magicValue
Item16_Make_const_member_functions_thread-safe/Widget3.h:18
↓ 1 callers
Function
makeLogEntry
Item23_Understand_std_move_and_std_forward/typical_use_of_std_forward.h:17
↓ 1 callers
Function
makeStringDeque
Item03_Understand_decltype/string_deque.cpp:14
↓ 1 callers
Function
makeWidget
Item12_Declare_overriding_functions_override/reference-qualified_member_functions_use_case_problem_demonstration.cpp:19
↓ 1 callers
Function
makeWidget
Item12_Declare_overriding_functions_override/reference_qualifiers_example.cpp:24
↓ 1 callers
Function
makeWidget
Item12_Declare_overriding_functions_override/reference-qualified_member_functions_use_case_problem_solution.cpp:24
↓ 1 callers
Function
midpoint
Item15_Use_constexpr_whenever_possible/constexpr_user-defined_types_cpp11.cpp:19
↓ 1 callers
Function
midpoint
Item15_Use_constexpr_whenever_possible/constexpr_user-defined_types_cpp14.cpp:11
↓ 1 callers
Function
nameFromIdx
Item27_Familiarize_yourself_with_alternatives_to_overloading_on_universal_references/constraining_templates03_cpp14.cpp:10
↓ 1 callers
Function
nameFromIdx
Item27_Familiarize_yourself_with_alternatives_to_overloading_on_universal_references/tag_dispatch02.cpp:16
↓ 1 callers
Function
nameFromIdx
Item27_Familiarize_yourself_with_alternatives_to_overloading_on_universal_references/constraining_templates04_cpp14.cpp:10
↓ 1 callers
Function
nameFromIdx
Item27_Familiarize_yourself_with_alternatives_to_overloading_on_universal_references/alternative_pass_by_value.cpp:12
↓ 1 callers
Function
nameFromIdx
Item26_Avoid_overloading_on_universal_references/logAndAdd_with_uref_overloaded.cpp:30
↓ 1 callers
Function
nameFromIdx
Item26_Avoid_overloading_on_universal_references/Person.cpp:13
↓ 1 callers
Function
primeFactors
Item10_Prefer_scoped_enums_to_unscoped_enums/semantic_travesties01.cpp:14
↓ 1 callers
Function
primeFactors
Item10_Prefer_scoped_enums_to_unscoped_enums/semantic_travesties03.cpp:13
↓ 1 callers
Function
process
Item23_Understand_std_move_and_std_forward/typical_use_of_std_forward.cpp:5
↓ 1 callers
Function
reallyAsync
Item36_Specify_std_launch_async_if_asynchronicity_is_essential/really_async_cpp11.cpp:12
↓ 1 callers
Function
reallyAsync
Item36_Specify_std_launch_async_if_asynchronicity_is_essential/really_async_cpp14.cpp:12
↓ 1 callers
Function
reflection
return reflection of p with respect to the origin (C++14)
Item15_Use_constexpr_whenever_possible/constexpr_user-defined_types_cpp14.cpp:19
↓ 1 callers
Method
setName
Item25_Use_std_move_on_rvalue_references_std_forward_on_universal_references/dont_use_move_with_urefs.cpp:20
↓ 1 callers
Method
setX
Item15_Use_constexpr_whenever_possible/Point_cpp14.h:19
↓ 1 callers
Method
setY
Item15_Use_constexpr_whenever_possible/Point_cpp14.h:22
↓ 1 callers
Function
someFunc
Item28_Understand_reference_collapsing/std_forward_common_usecase.h:9
Method
Annotation
Item23_Understand_std_move_and_std_forward/annotation.cpp:22
Method
Base
Item17_Understand_special_member_function_generation/Base.cpp:19
Method
DefCtor
Item07_Distinguish_between()_and_{}_when_creating_objects/empty_braces_test_v2.cpp:16
Method
DefCtor
Item07_Distinguish_between()_and_{}_when_creating_objects/empty_braces_test_v1.cpp:15
Method
DeletedDefCtor
Item07_Distinguish_between()_and_{}_when_creating_objects/empty_braces_test_v2.cpp:23
Method
DeletedDefCtor
Item07_Distinguish_between()_and_{}_when_creating_objects/empty_braces_test_v1.cpp:21
Method
IsValAndArch
Item32_Use_init_capture_to_move_objects_into_closures/init_capture_cpp11.cpp:20
Method
NoDefCtor
Item07_Distinguish_between()_and_{}_when_creating_objects/empty_braces_test_v2.cpp:29
Method
NoDefCtor
Item07_Distinguish_between()_and_{}_when_creating_objects/empty_braces_test_v1.cpp:26
Method
Person
Item27_Familiarize_yourself_with_alternatives_to_overloading_on_universal_references/constraining_templates03_cpp14.cpp:25
Method
Person
Item27_Familiarize_yourself_with_alternatives_to_overloading_on_universal_references/constraining_templates04_cpp14.cpp:25
Method
Person
Item27_Familiarize_yourself_with_alternatives_to_overloading_on_universal_references/alternative_pass_by_value.cpp:18
Method
Person
Item26_Avoid_overloading_on_universal_references/Person.cpp:25
Method
Point
Item15_Use_constexpr_whenever_possible/Point_cpp14.h:12
Method
Point
Item15_Use_constexpr_whenever_possible/Point_cpp11.h:9
Method
SpecialPerson
Item27_Familiarize_yourself_with_alternatives_to_overloading_on_universal_references/constraining_templates01.cpp:25
Method
StringTable
Item17_Understand_special_member_function_generation/StringTable02.cpp:18
Method
StringTable
Item17_Understand_special_member_function_generation/StringTable01.cpp:14
Method
ThreadRAII
Item37_Make_std_threads_unjoinable_on_all_paths/ThreadRAII.h:8
Method
Widget
Item25_Use_std_move_on_rvalue_references_std_forward_on_universal_references/rrefs_are_moveable.cpp:20
Method
Widget
Item23_Understand_std_move_and_std_forward/move_constructor_with_move.cpp:14
Method
Widget
Item23_Understand_std_move_and_std_forward/move_constructor_with_forward.cpp:12
Method
Widget
Item22_When_using_the_Pimpl_Idiom_define_special_member_functions_in_the_implementation_file/pimpl_shared_ptr/widget.cpp:21
Method
Widget
Item22_When_using_the_Pimpl_Idiom_define_special_member_functions_in_the_implementation_file/pimpl_raw_ptr/widget.cpp:20
Method
Widget
Item22_When_using_the_Pimpl_Idiom_define_special_member_functions_in_the_implementation_file/pimpl_unique_ptr/widget.cpp:23
Method
Widget
Item07_Distinguish_between()_and_{}_when_creating_objects/initializer_lists1.cpp:12
Method
Widget
Item07_Distinguish_between()_and_{}_when_creating_objects/initializer_lists3.cpp:14
Method
Widget
Item07_Distinguish_between()_and_{}_when_creating_objects/initializer_lists4.cpp:14
Method
Widget
Item07_Distinguish_between()_and_{}_when_creating_objects/empty_braces.cpp:24
Method
Widget
Item07_Distinguish_between()_and_{}_when_creating_objects/initializer_lists2.cpp:22
Method
Widget
Item07_Distinguish_between()_and_{}_when_creating_objects/initialization_values.cpp:18
Method
Widget
Item19_Use_std_shared_ptr_for_shared-ownership_resource_management/shared_ptr_things_to_know.cpp:19
Method
Widget
... // default copy-ctor
Item17_Understand_special_member_function_generation/Widget02.cpp:18
Method
X
Item07_Distinguish_between()_and_{}_when_creating_objects/empty_braces_test_v2.cpp:35
Method
X
Item07_Distinguish_between()_and_{}_when_creating_objects/empty_braces_test_v1.cpp:32
Function
addDivisorFilter
Item31_Avoid_default_capture_modes/by_reference_capture.cpp:30
Function
addDivisorFilter2
Item31_Avoid_default_capture_modes/by_reference_capture.cpp:55
Function
authAndAccess
works, but
Item03_Understand_decltype/compute_function_return_type_cpp11.h:11
Function
authAndAccess
C++14 only, and
Item03_Understand_decltype/compute_function_return_type_cpp14.h:11
Function
authAndAccess
C++14 only;
Item03_Understand_decltype/decltype_auto_for_function_return_types_cpp14.cpp:13
Function
authAndAccess
final
Item03_Understand_decltype/uref_cpp14.h:14
Function
calcValue
Item38_Be_aware_of_varying_thread_handle_destructor_behavior/example2.cpp:5
Function
createInitList
Item02_Understand_auto_type_deduction/function_return_type_deduction.cpp:13
Function
cusDel
Item21_Prefer_std_make_unique_and_std_make_shared_to_direct_use_of_new/limitations_of_make_functions.cpp:33
Function
delInvmt2
Item18_Use_std_unique_ptr_for_exclusive-ownership_resource_management/custom_deleter_size.cpp:19
Method
distanceFromOrigin
Item16_Make_const_member_functions_thread-safe/Point.cpp:14
Function
doAsyncWork
Item35_Prefer_task-based_programming_to_thread-based/thread_based_approach.cpp:16
Function
doAsyncWork
Item35_Prefer_task-based_programming_to_thread-based/task_based_approach.cpp:14
Function
doAsyncWork
Item35_Prefer_task-based_programming_to_thread-based/software_threads.cpp:13
Function
doSomeWork
types of arguments to use
Item07_Distinguish_between()_and_{}_when_creating_objects/parenthesis_braces_in_templates.cpp:13
Function
doSomeWork
Item31_Avoid_default_capture_modes/by_reference_capture.cpp:109
Method
doWork
Item12_Declare_overriding_functions_override/overriding_explained.cpp:20
Function
dwim
as before
Item05_Prefer_auto_to_explicit_type_declarations/auto.cpp:29
Function
dwim
algorithm to dwim ("do what I mean")
Item05_Prefer_auto_to_explicit_type_declarations/simple_joys.cpp:19
Function
f
template with parameter
Item02_Understand_auto_type_deduction/auto_deduction_vs_template_deduction.cpp:11
Function
f
Item28_Understand_reference_collapsing/std_forward_common_usecase.h:12
Function
f
Item14_Declare_functions_noexcept_if_they_wont_emit_exceptions/never_throw_exception.cpp:17
Function
f
Item36_Specify_std_launch_async_if_asynchronicity_is_essential/really_async_cpp11.cpp:21
Function
f
Item36_Specify_std_launch_async_if_asynchronicity_is_essential/wait-based_loops_fixed.cpp:12
Function
f
Item36_Specify_std_launch_async_if_asynchronicity_is_essential/wait-based_loops.cpp:14
Function
f
Item36_Specify_std_launch_async_if_asynchronicity_is_essential/interesting_implications.cpp:12
Function
f
Item36_Specify_std_launch_async_if_asynchronicity_is_essential/default_launch_policy.cpp:11
Function
f
Item36_Specify_std_launch_async_if_asynchronicity_is_essential/really_async_cpp14.cpp:21
Function
f
Item36_Specify_std_launch_async_if_asynchronicity_is_essential/thread_local_storage.cpp:14
Function
f
Item36_Specify_std_launch_async_if_asynchronicity_is_essential/guaranteeing_truly_asynchronous_execution.cpp:12
Function
f1
Item08_Prefer_nullptr_to_0_and_NULL/template_example_templatized.cpp:19
Function
f1
Item08_Prefer_nullptr_to_0_and_NULL/template_example_templatized_cpp14.cpp:18
Function
f1
Item03_Understand_decltype/return_statements_cpp14.cpp:8
Function
f2
call these only when
Item08_Prefer_nullptr_to_0_and_NULL/template_example_templatized.cpp:20
Function
f2
call these only when
Item08_Prefer_nullptr_to_0_and_NULL/template_example_templatized_cpp14.cpp:19
Function
f2
Item03_Understand_decltype/return_statements_cpp14.cpp:15
Function
f3
the appropriate
Item08_Prefer_nullptr_to_0_and_NULL/template_example_templatized.cpp:21
Function
f3
the appropriate
Item08_Prefer_nullptr_to_0_and_NULL/template_example_templatized_cpp14.cpp:20
Function
fastLoadWidget
Item20_Use_std_weak_ptr_for_std_shared_ptr-like_pointers_that_can_dangle/creation.cpp:20
Function
func1
Item16_Make_const_member_functions_thread-safe/undefined_behavior.cpp:17
← previous
next →
101–200 of 362, ranked by callers