Главная
Study mode:
on
1
Introduction
2
Function signatures
3
Function pointer
4
Summary
5
Why use std function
6
Function pointers
7
Instance method
8
Objectoriented approach
9
Objectiveended approach
10
devils advocate
11
task scheduler
12
wrap up
13
naive implementation
14
call operator
15
callable
16
recap
17
question
18
comparison
19
empty state
20
compare pointer
21
member function
22
return type
23
member pointers
24
function signature
25
member functions
26
target type
27
summary and comments
28
standard mandates
29
other implementations
30
benchmarks
31
size
32
pointer size
33
extensions
34
call qualifiers
35
multiple overloads
36
different overloads
37
more ideas
38
moveonly function
39
conclusion
40
our company
41
user group
Description:
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only! Grab it Dive deep into the intricacies of std::function in C++ with this comprehensive conference talk from Meeting C++ 2022. Explore the evolution of std::function from its Boost origins to its inclusion in the C++11 Standard Template Library, and learn about the upcoming std::move_only_function in C++23. Gain insights into function signatures, function pointers, and the versatility of std::function. Discover the caveats and limitations of these tools, and understand how to leverage std::invoke, introduced in C++17, to create custom derivatives. Examine various implementation approaches, including object-oriented and objective-ended methods, and analyze benchmarks and size considerations. Investigate advanced topics such as empty states, member functions, and multiple overloads. Conclude with a discussion on move-only functions and their implications for modern C++ programming.

std::function: A Deep Dive Behind the Curtain - Lecture

Meeting Cpp
Add to list