Skip to content

RAII 4 translator + const/noexcept correct SE_Exception#1302

Merged
colin-home merged 2 commits intoMicrosoftDocs:masterfrom
dimhotepus:patch-1
Jul 16, 2019
Merged

RAII 4 translator + const/noexcept correct SE_Exception#1302
colin-home merged 2 commits intoMicrosoftDocs:masterfrom
dimhotepus:patch-1

Conversation

@dimhotepus
Copy link
Copy Markdown
Contributor

  • Use RAII idiom for structured exception translator setter.
  • Make SE_Exception const and noexcept correct.
  • Remove unused <assert.h> header.

Didn't converted printf to std::cerr.
IMHO stream formatters a bit harder to reason about than printf ones.

* Use RAII idiom for structured exception translator setter.
* Make `SE_Exception` const and noexcept correct.
* Remove unused `<assert.h>` header.

Didn't converted `printf` to `std::cerr`. IMHO stream formatters a bit harder to reason about than printf ones.
@msftclas
Copy link
Copy Markdown

msftclas commented Jun 28, 2019

CLA assistant check
All CLA requirements met.

@PRMerger17 PRMerger17 requested a review from colin-home June 28, 2019 22:43
@PRMerger17
Copy link
Copy Markdown
Contributor

@dimhotepus : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@chbain chbain added the aq-pr-triaged Tracking label for the PR review team label Jul 1, 2019
@PRMerger18
Copy link
Copy Markdown
Contributor

@corob-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Copy link
Copy Markdown
Contributor

@colin-home colin-home left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dimhotepus Very stylish code, thanks for contributing. Sorry it's taken so long to get to this review.

@colin-home colin-home merged commit f9623b7 into MicrosoftDocs:master Jul 16, 2019
@dimhotepus dimhotepus deleted the patch-1 branch July 19, 2019 22:36
@dimhotepus
Copy link
Copy Markdown
Contributor Author

@corob-msft Never mind thank you for review and fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aq-pr-triaged Tracking label for the PR review team Change sent to author do-not-merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants