GSL/include/gsl
dmitrykobets-msft cbf5e664fc
Fix max macro collision (#1081)
PR https://github.com/microsoft/GSL/pull/1076 introduced a usage of `numeric_limits::max()` function, which seems to have [issues interacting with some Windows headers](https://github.com/skypjack/entt/wiki/Frequently-Asked-Questions#warning-c4003-the-min-the-max-and-the-macro). This PR implements [a simple fix](https://stackoverflow.com/questions/1394132/macro-and-member-function-conflict), which is to wrap the invocations in parentheses. This offloads the fix from the users of the library.
2023-01-19 13:17:39 -08:00
..
algorithm quoted form of #include when GSL includes GSL files (#1030) 2022-01-31 13:06:42 -08:00
assert Fix GSL_SUPPRESS definition when nvcc is in-use (#1064) 2022-11-07 14:00:32 -08:00
byte Fix GSL_SUPPRESS definition when nvcc is in-use (#1064) 2022-11-07 14:00:32 -08:00
gsl quoted form of #include when GSL includes GSL files (#1030) 2022-01-31 13:06:42 -08:00
gsl_algorithm quoted form of #include when GSL includes GSL files (#1030) 2022-01-31 13:06:42 -08:00
gsl_assert quoted form of #include when GSL includes GSL files (#1030) 2022-01-31 13:06:42 -08:00
gsl_byte quoted form of #include when GSL includes GSL files (#1030) 2022-01-31 13:06:42 -08:00
gsl_narrow quoted form of #include when GSL includes GSL files (#1030) 2022-01-31 13:06:42 -08:00
gsl_util quoted form of #include when GSL includes GSL files (#1030) 2022-01-31 13:06:42 -08:00
narrow Document potentially confusing behavior in gsl::narrow (#1073) 2022-12-24 11:49:26 -08:00
pointers Remove null check inside not_null::get (#1067) 2022-12-14 18:16:52 -08:00
span solve span compile problem with gcc 5.5.0 (#1052) 2022-08-18 12:28:11 -07:00
span_ext Resolve MSVC warning C5260 (#1049) 2022-07-18 17:42:21 -07:00
string_span remove all deprecated string_span stuff (#1074) 2022-12-27 07:22:26 -08:00
util Fix max macro collision (#1081) 2023-01-19 13:17:39 -08:00