devel/microsoft-gsl 4.2.0 DragonFly
Guidelines Support Library
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- devel
- Package size
- 17.0 KiB, 84.5 KiB installed
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
| System | Port | Version |
|---|---|---|
| DragonFly | devel/microsoft-gsl | 4.2.0 |
| FreeBSD | devel/microsoft-gsl | 4.2.2 |
| OpenBSD | devel/microsoft-gsl | 5.0.0 |
| MidnightBSD | devel/microsoft-gsl | 4.2.2 |
| HardenedBSD | devel/microsoft-gsl | 4.2.2 |
| GhostBSD | devel/microsoft-gsl | 4.2.2 |
Install
Binary package:
pkg install microsoft-gsl
From DPorts:
cd /usr/dports/devel/microsoft-gsl && make install clean
Dependencies
No port depends on this one.