Skip to content

Dev/annagrin/remove gsl noexcept - #719

Merged
Neil MacIntosh (neilmacintosh) merged 9 commits into
microsoft:masterfrom
annagrin:dev/annagrin/remove_gsl_noexcept
Aug 13, 2018
Merged

Neil MacIntosh (neilmacintosh) merged 9 commits into
microsoft:masterfrom
annagrin:dev/annagrin/remove_gsl_noexcept

Conversation

@annagrin

Copy link
Copy Markdown

removed remaining GSL_NOEXCEPT to make sure we have consistent APIs

- Removed GSL_NOEXCEPT macro
- Replaced by noexcept keyword when needed
- removed noexcept where a function could throw

@neilmacintosh

Copy link
Copy Markdown
Contributor

Thanks Anna Gringauze (@annagrin)! I take it that you plan to refine which functions should actually have noexcept (for example, I think the comparison ops in string_span probably should not), in a subsequent PR and this one is just switching from macro to keyword in a compilable way?

@annagrin

Copy link
Copy Markdown
Author

Exactly!

@neilmacintosh

Copy link
Copy Markdown
Contributor

Then it looks great to me!

@neilmacintosh
Neil MacIntosh (neilmacintosh) merged commit 6a75903 into microsoft:master Aug 13, 2018
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