mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
f21f29d210
This file uses std::exception, so it should include the appropriate header. Normally it gets the STL's <exception> header included via the gsl/assert file, but this is skipped with _HAS_EXCEPTIONS=0. I understand _HAS_EXCEPTIONS is undocumented and unsupported, but regardless, the appropriate header should be included here. Alternatively, gsl/narrow should be modified to support _HAS_EXCEPTIONS=0, like gsl/assert was. But I'm not proposing that change. <exception> does define std::exception even with _HAS_EXCEPTIONS=0. |
||
---|---|---|
.. | ||
algorithm | ||
assert | ||
byte | ||
gsl | ||
gsl_algorithm | ||
gsl_assert | ||
gsl_byte | ||
gsl_narrow | ||
gsl_util | ||
narrow | ||
pointers | ||
span | ||
span_ext | ||
string_span | ||
util |