BSD Ports

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

SystemPortVersion
DragonFlydevel/microsoft-gsl4.2.0
FreeBSDdevel/microsoft-gsl4.2.2
OpenBSDdevel/microsoft-gsl5.0.0
MidnightBSDdevel/microsoft-gsl4.2.2
HardenedBSDdevel/microsoft-gsl4.2.2
GhostBSDdevel/microsoft-gsl4.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.