devel/microsoft-gsl 5.0.0 OpenBSD
guidelines support library
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- Klemens Nanni <[email protected]>
- Last update
- Commit
a1ee4f0a3c- 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
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/microsoft-gsl | 5.0.0 |
| FreeBSD | devel/microsoft-gsl | 4.2.2 |
| DragonFly | devel/microsoft-gsl | 4.2.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_add microsoft-gsl
From the ports tree:
cd /usr/ports/devel/microsoft-gsl && make install