[Bug 285122] devel/microsoft-gsl: update to 4.2.0
Date: Mon, 03 Mar 2025 04:50:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285122
Bug ID: 285122
Summary: devel/microsoft-gsl: update to 4.2.0
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: henry.hu.sh@gmail.com
Created attachment 258236
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=258236&action=edit
patch to update to 4.2.0
Changelog: https://github.com/microsoft/GSL/releases/tag/v4.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
--
You are receiving this mail because:
You are the assignee for the bug.