tired: “error: cannot borrow ‘x’ as mutable more than once at a time”
inspired: “with this reference’s creation, the thread of memory safety is severed. refactor your code to restore the weave of fate, or persist in the doomed world you have created”
@daniel I see your borrow checker and raise you a reference to the owned object of a unique_ptr.
auto _d = std::make_unique<double>();
auto& d = *_d;