BSD Ports

devel/span 0.0.0.g20220615 DragonFly

Implementation of C++20's std::span for older compilers

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSL
Categories
devel
Package size
5.3 KiB, 19.4 KiB installed

Description

This repository contains a single-header implementation of C++20's std::span, conforming to the C++20 committee draft. It is compatible with C++11, but will use newer language features if they are available.

It differs from the implementation in the Microsoft GSL in that it is single-header and does not depend on any other GSL facilities. It also works with C++11, while the GSL version requires C++14.

In the other systems

The newest version among them is 0.0.0.g20220615, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/span0.0.0.g20220615 newestnone known-[email protected]-
FreeBSDdevel/span0.0.0.g20220615 newestnone known-[email protected]-
HardenedBSDdevel/span0.0.0.g20220615 newestno data-[email protected]-
GhostBSDdevel/span0.0.0.g20220615 newestno data-[email protected]-

Version history 1

  1. 0.0.0.g20220615

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install span

From DPorts:

cd /usr/dports/devel/span && make install clean

Dependencies

No port depends on this one.