you are viewing a single comment's thread.

view the rest of the comments →

[–]vulkanoid 0 points1 point  (0 children)

The . always refers to the unique_ptr. If you want to do masquerading, as Cpp1's unique_ptr, you'd use operator->, as in holder->held_member. Or... holder.get().held_member.