A good reminder to use std::exchange more. Years after it's been introduced it's clearly still underused.