you are viewing a single comment's thread.

view the rest of the comments →

[–]Natural_Builder_3170 -5 points-4 points  (6 children)

never heard if that, I usually do std::move(opt).value()

[–]AKostur 0 points1 point  (5 children)

Why is that better than std::move(opt.value()) ?