Skip to content

E.19: clarify that finally is from the GSL#1936

Merged
hsutter merged 1 commit intoisocpp:masterfrom
szeder:gsl-finally
Jul 13, 2022
Merged

E.19: clarify that finally is from the GSL#1936
hsutter merged 1 commit intoisocpp:masterfrom
szeder:gsl-finally

Conversation

@szeder
Copy link
Copy Markdown
Contributor

@szeder szeder commented Jul 13, 2022

When I stumbled upon E.19 "Use a final_action object to express
cleanup if no suitable resource handle is available" I was hopeful
that this final_action/finally() thing is from the STL, but, alas,
it isn't.

Make it clear that finally is a GSL construct.

When I stumbled upon E.19 "Use a `final_action` object to express
cleanup if no suitable resource handle is available" I was hopeful
that this `final_action`/`finally()` thing is from the STL, but, alas,
it isn't.

Make it clear that `finally` is a GSL construct.
@hsutter hsutter self-assigned this Jul 13, 2022
@hsutter
Copy link
Copy Markdown
Contributor

hsutter commented Jul 13, 2022

Editors call: Thanks!

@hsutter hsutter merged commit 42c4cc6 into isocpp:master Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants