BSD Ports

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

SystemPortVersion
OpenBSDdevel/microsoft-gsl5.0.0
FreeBSDdevel/microsoft-gsl4.2.2
DragonFlydevel/microsoft-gsl4.2.0
MidnightBSDdevel/microsoft-gsl4.2.2
HardenedBSDdevel/microsoft-gsl4.2.2
GhostBSDdevel/microsoft-gsl4.2.2

Install

Binary package:

pkg_add microsoft-gsl

From the ports tree:

cd /usr/ports/devel/microsoft-gsl && make install

Dependencies

Build dependencies 3
Required by 2

Commit history 1

DateCommitCreditsLog message
a1ee4f0a3c kn update to gsl 5.0.0