GSL/include/gsl
Carson Radtke 8a0e3d8a9b
fix: direct-init const ref instead of list-init (#1175)
fixes: https://github.com/microsoft/GSL/issues/1162

gcc has a bug that generates a call to the copy constructor when list
initializing a const reference. This PR offers a workaround which is to
direct initialize the value.

see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117900
2024-12-13 10:22:16 -06:00
..
algorithm quoted form of #include when GSL includes GSL files (#1030) 2022-01-31 13:06:42 -08:00
assert Update Clang GSL_SUPPRESS to stringize parameter instead of using fixed string literal. (#1133) 2023-09-11 10:52:30 -07:00
byte Test only __cpp_lib_byte, drop _HAS_STD_BYTE. (#1145) 2024-02-26 13:22:20 -08:00
gsl Added the IWYU pragma export (#1154) 2024-10-15 17:26:45 -05:00
narrow Delete the useless 'noexcept(false)' (#1152) 2024-10-14 15:30:40 -05:00
pointers fix: direct-init const ref instead of list-init (#1175) 2024-12-13 10:22:16 -06:00
span improve performance of span_iterator w/ clang (#1166) 2024-11-12 15:41:21 -06:00
span_ext Deprecate the Ptr make_span overloads (#1113) 2023-05-22 10:48:41 -07:00
string_span Deprecate <gsl/string_span> and replace with <gsl/zstring> (#1125) 2023-06-28 10:48:23 -07:00
util Fix gcc build problem (#1149) 2024-10-11 19:46:21 -05:00
zstring Deprecate <gsl/string_span> and replace with <gsl/zstring> (#1125) 2023-06-28 10:48:23 -07:00