devel/microsoft-gsl 4.2.2 MidnightBSD
Guidelines Support Library
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
9b51ecdfa4- License
- mit
- Categories
- devel
Description
The Guidelines Support Library (GSL) contains functions and types that are suggested for use by the C++ Core Guidelines maintained by the Standard C++ Foundation. This repo contains Microsoft's implementation of GSL.
The library includes types like span<T>, string_span, owner<> and others.
The entire implementation is provided inline in the headers under the gsl directory. The implementation generally assumes a platform that implements C++14 support. There are specific workarounds to support MSVC 2015.
In the other systems
The newest version among them is 5.0.0, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/microsoft-gsl | 4.2.2 | no data | - | [email protected] | 2026-09-07 |
| FreeBSD | devel/microsoft-gsl | 4.2.2 | none known | - | [email protected] | - |
| OpenBSD | devel/microsoft-gsl | 5.0.0 newest | no data | - | Klemens Nanni <[email protected]> | 2026-09-03 |
| DragonFly | devel/microsoft-gsl | 4.2.0 | none known | - | [email protected] | - |
| HardenedBSD | devel/microsoft-gsl | 4.2.2 | no data | - | [email protected] | - |
| GhostBSD | devel/microsoft-gsl | 4.2.2 | no data | - | [email protected] | - |
Install
Binary package:
mport install microsoft-gsl
From mports:
cd /usr/mports/devel/microsoft-gsl && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= microsoft-gsl>0:devel/microsoft-gsl
Dependencies
Required by 2
Configuration
No options to configure.
- USES
- cmake
- Service scripts
- none
Files
pkg-plist 13
- include/gsl/algorithm
- include/gsl/assert
- include/gsl/byte
- include/gsl/gsl
- include/gsl/narrow
- include/gsl/pointers
- include/gsl/span
- include/gsl/span_ext
- include/gsl/util
- include/gsl/zstring
- share/cmake/Microsoft.GSL/GSL.natvis
- share/cmake/Microsoft.GSL/Microsoft.GSLConfig.cmake
- share/cmake/Microsoft.GSL/Microsoft.GSLConfigVersion.cmake
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| microsoft-GSL-v4.2.2_GH0.tar.gz | 62316 | 59e2a0a0ea22e8bcf9db2dc4d4bd21212ac6595748295fc27a7e02cf75eac4b5 |