You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code creates an unnecessary copy (internally it is because get_try() is returning an optional instead of an optional<const T&>). It also does 4 moves. Can that be reduced?
I just started the branch copy-less to resolve this issue. It addresses this particular copy but still there are a fairly large number of other cases to handle. I published the branch for reference and will try and make time to complete it.
The following code creates an unnecessary copy (internally it is because get_try() is returning an optional instead of an optional<const T&>). It also does 4 moves. Can that be reduced?
The text was updated successfully, but these errors were encountered: