The Best Type Traits that C++ Doesn't Have

The Best Type Traits that C++ Doesn't Have

CppNow via YouTube Direct link

Intro

1 of 25

1 of 25

Intro

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

The Best Type Traits that C++ Doesn't Have

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Outline
  3. 3 Rules for std::vector reallocation
  4. 4 Relocating trivially copyable types
  5. 5 Relocating non-trivial types
  6. 6 Algorithm uninitialized_relocate
  7. 7 Optimizing uninitialized_relocate
  8. 8 By the way: convenience helpers
  9. 9 Two new customization points
  10. 10 Implementing allocator_traits::htcad
  11. 11 TLDR / dependency graph
  12. 12 Benchmark results
  13. 13 Motivating "comparison"
  14. 14 Compiler support required?
  15. 15 Compiler support attained(?)
  16. 16 Another problem: naming
  17. 17 What is the meaning of "trivial"?
  18. 18 Motivating "tombstones"
  19. 19 Design criteria
  20. 20 One new traits class
  21. 21 Specialization for string
  22. 22 Specialization for bool
  23. 23 optional uses tombstone_traits
  24. 24 Recursing on tombstone_traits
  25. 25 Benchmark design

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.