Figure 1: First scenario: Unique smart pointer.