b423b7be5b
Accepting request 1251571 from devel:libraries:c_c++
Ana Guerrero2025-03-11 19:42:38 +00:00
619264ed6e
- Update to upstream version 4.2.0 * New Features: - Added gsl::swap for safely swapping gsl::not_null pointers (#1160) - Introduced element_type member type to gsl::not_null for better type trait consistency (#1196) - Added support for strict_not_null with unique_ptr (#1179) - Added comprehensive test suite for gsl::span including empty span, conversion, and comparison tests (#1189) * Performance Improvements: - Significantly improved span_iterator performance with Clang compiler, reducing overhead by up to 20x (#1166) * Bug Fixes: - Fixed GCC-specific bug with list initialization of const references (#1175) - Fixed SFINAE implementation in gsl::owner (#1174) - Fixed issues with std::enable_if usage throughout the codebase (#1177) - Modified include directives to use explicit "gsl/" prefix to prevent header conflicts (#1184) - Changed include directives to use relative paths to comply with CppCoreGuideline SF.12 (#1194) * Deprecated Features: - Removed deprecated string_span feature (#1185) - Marked the following features as deprecated as they are now in the C++ standard: * gsl::unique_ptr * gsl::shared_ptr * gsl::byte (since C++17) * gsl::joining_thread
Scott Bradnick2025-03-02 19:51:32 +00:00
ee1c762694
- Update to upstream version 4.1.0 * quoted form of #include when GSL includes GSL files by @beinhaerter in #1030 * Suppress reserved identifier warning by @dmitrykobets-msft in #1041 * Make gsl::span's iterators use the contiguous_iterator concept by @dmitrykobets-msft in #1035 * Suppress -Wfloat-equal warning by @dmitrykobets-msft in #1043 * gsl/narrow should include by @TheJCAB in #1044 * Many other changes, see: https://github.com/microsoft/GSL/releases/tag/v4.1.0Scott Bradnick2024-10-17 18:41:52 +00:00