~/talk

Make Classes Great Again! (Using Concepts for Customization Points)

links:none on file
slides:none on file

Builds a reusable HTTP message class that lets callers swap body and header implementations and allocators, demonstrating static write/read customization for bodies (string, vector, file, empty) and zero-cost storage via the empty-base optimization. Shows a concrete metafunction that checks the body concept — is_body trait using void_t and SFINAE — and how fields become a customizable base type with forwarding constructors for allocator/stateful types. Code compiles, integrates into Boost.Beast, and yields clearer errors and extensible serialization/parsing.

AI-written summary · about

  1. 0:00Intro
  2. 0:23Boost C++ Libraries
  3. 1:43Outline
  4. 3:27HTTP Request
  5. 4:06HTTP Response
  6. 5:06HTTP Message
  7. 6:11Message Model
  8. 9:17Message Class
  9. 10:34Allocator Aware
  10. 12:48Body Customization
  11. 17:15Body Type
  12. 22:42Concept . For a given template type, a Concept defines
  13. 23:24Documentation
  14. 26:05Metafunctions
  15. 30:25Generic Programming
  16. 30:59Parsing
  17. 32:56Fields
  18. 37:59Summary
~/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.