⚡ Build the skills to land top-paying quant jobs. Offer ends in 23d 14h 02m 28s23 days 14 hours 2 minutes 28 seconds.
⚡ Build the skills to land top-paying quant jobs. Offer ends in 23d 14h 02m 28s23 days 14 hours 2 minutes 28 seconds.

Sign in to watch this lesson
Ownership Types, Views and Type Erasure · 4:27
Not every piece of code should own what it touches. We look at string_view and span, which borrow a pointer and a length without owning anything (and dangle if the owner dies first), then at the sum types: optional for a value or nothing, variant with visit for one of a fixed set of types, and any for anything at all, with every size and error measured on a real machine.