Algorithms + Data Structures = Programs cover image

Episode 117: OOP, C++ Containers, APIs, EOP & More with Zach Laine!

Algorithms + Data Structures = Programs

00:00

Can You Move This Thing if You Can't Move It?

There's some times that really you cannot default construct because it doesn't make sense right so something like a lock. I think most things we should definitely have regularity as part of them and in particular since that statement from stepinoff we now have moved semantics in a language. But my new answer is can you move this thing if you can’t move it then yeah let's talk about it whether it's default constructable but if you can move it I don't want to hear thisIt changes the invariance because the invariance are already that way with C++ well when you move something it's gone I don't have to reason about anymore he says.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app