Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Trivially Relocatable

CppNow via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the concept of "trivially relocatable" types in C++ through this comprehensive conference talk from C++Now 2019. Delve into the importance of relocation in C++ and its potential impact on performance optimizations. Learn about the proposed `is_trivially_relocatable` type trait and its implementation in various libraries. Examine five common library optimizations that can be extended to trivially relocatable types, potentially leading to significant performance improvements. Gain insights into the distinctions between P1144 object relocation and other related concepts, such as destructive move and position-independent data structures. Discuss open design issues, including syntax proposals and requirements for trivially relocatable types. Explore the relationship between object relocation and other C++ proposals, providing a thorough understanding of this important concept in modern C++ development.

Syllabus

Motivation Relocation
Fixed Capacity Vector
Move Constructor
Relocate Ability
Swap
Code Bases
Folly
FBVector
Move Destroy
Conditional Relocatable
Undefined Behavior
Memory Model
Things that relocation is not

Taught by

CppNow

Reviews

Start your review of Trivially Relocatable

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.