Skip to content

Should Expects be required to abort? #1512

@JordanMaples

Description

@JordanMaples

The guidelines say here that GSL Expects always aborts on failure.
http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#SS-assertions

However, Microsoft's GSL implementation has a mode that can alternatively throw on failure. see here microsoft/GSL#775 which prevents making some functions unconditionally noexcept.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions