~/talk

Functional Composable Operations with Unix-Style Pipes in C++

Talkat CppCon 2022 · 2022-09-11..09-16· [rust]
links:none on file
slides:none on file

Prototype implements a C++11 generic pipe operator that composes any T with a Callable, shows a real Kafka init chain using libRdKafka and unique_ptr for RAII, adds std::optional unwrapping overloads for C++17, and uses C++20 Concepts to avoid ranges so std::ranges code and the new operator coexist. It also emulates monadic and_then/transform behavior like the proposed C++23 APIs. Overload-resolution surprises force concept tweaks; the implementation works but incurs added compile-time cost and a global-operator collision risk.

AI-written summary · about

  1. 0:00Start
  2. 3:34Functional Composable Operations
  3. 7:20Ranges
  4. 11:13Initialization
  5. 15:42Type Conversion with Templates
  6. 16:30Member Functions
  7. 19:45Kafka Config
  8. 20:54Move the Operator to a Generic Namespace
  9. 21:24Calling Function Templates
  10. 22:13Chain Functions Taking Multiple Arguments
  11. 22:49Operator Mismatch
  12. 24:02Std Bind
  13. 32:04Std Optional
  14. 41:48Invokable
  15. 45:39Std Optional Monadic Operations
  16. 56:26Transform
  17. 59:57Conclusion
~/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.