~/talk

“Value Semantics: It ain't about the syntax!, Part I"

Talkat CppCon 2015 · 2015-09-21..09-25· [software-architecture]
slides:none on file

Defines what “value” really means for C++ types by naming the salient attributes that must match for two objects to be the same value, shows why copying bits (shallow copy of string) or preserving capacity (vector) is irrelevant, and gives the practical rule that operator== acts as the operational definition of value. Demonstrates counterexamples (allocators, thread pools, scope guards, pointers, unordered vs ordered containers) and states the Essential Property of Value: applying the same salient operations to equal values yields equal results.

AI-written summary · about

  1. 0:00Introduction
  2. 2:05Outline
  3. 8:15Value
  4. 13:48Mathematical Types
  5. 17:48Operations
  6. 19:30Date classes
  7. 22:55What are salient attributes
  8. 23:49Mental exercise
  9. 25:27The same ethereal type
  10. 29:00Vectors
  11. 30:04Documentation
  12. 30:21Why is value important
  13. 30:41The ethereal type
  14. 32:34Its not just an exercise
  15. 33:21Pointers
  16. 34:06Thread Pool
  17. 34:32Alligators
  18. 35:39Threadsafe Queue
  19. 38:51Abstract Interfaces
  20. 39:28Tom Cargill
  21. 44:12Value Semantics
  22. 44:57Copy Constructor
  23. 45:24Operator Equal
  24. 46:05CMOS
  25. 47:58Assignment
  26. 48:36Unundecidable
  27. 53:41Subtle Essential Property
  28. 54:13Thought Experiment
~/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.