~/talk

Forwarding Values... and Backwarding Them Too?

Talkat CppCon 2018 · 2018-09-23..09-28· [rust]
links:none on file
slides:none on file

Claims a concrete fix for the “backwarding” problem: preserve lvalue, xvalue and prvalue results from a deep caller back to the call site by using decltype(auto) as the return type and casting the captured result with decltype(e)(e). Compares to std::forward and forwarding references, shows a visitor/ResourceManager example that avoids needless copies across the three value categories, and notes it works in practice except for GCC quirks with decltype(auto) deduction.

AI-written summary · about

  1. 0:00Introduction
  2. 0:15Forwarding Values
  3. 0:49Backwarding Values
  4. 2:31DeckleType
  5. 3:51DekelType
  6. 4:12Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.