Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in 8d 09h 54m 25s8 days 9 hours 54 minutes 25 seconds.
Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in 8d 09h 54m 25s8 days 9 hours 54 minutes 25 seconds.

Sign in to watch this lesson
Classes and Resource Ownership · 4:34
A constructor can't return an error code, so what should it do when it can't keep its promise? We follow an exception through stack unwinding, see why a vector copies instead of moving unless the move constructor is noexcept, watch a noexcept function call terminate, and compare the ways a program can end, all measured on a real Mac.