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
make_final_act (or make_final) would be more consistent with other std construction helpers such as make_unique.
Additionally there's danger of finally accidentally being called without assigning into a temporary, thus inducing the destructor to activate immediately. The static analysis could catch this, or renaming makes this sort of mistake less likely to happen imo.
The text was updated successfully, but these errors were encountered:
make_final_act (or make_final) would be more consistent with other std construction helpers such as make_unique.
Additionally there's danger of finally accidentally being called without assigning into a temporary, thus inducing the destructor to activate immediately. The static analysis could catch this, or renaming makes this sort of mistake less likely to happen imo.
The text was updated successfully, but these errors were encountered: