Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
Port details
span Implementation of C++20's std::span for older compilers
0.0.0.g20220615 devel Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.0.0.g20220615Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-02-17 16:57:15
Last Update: 2026-02-17 16:53:37
Commit Hash: 4058c9a
License: BSL
WWW:
https://github.com/tcbrindle/span
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
Expand this list (4 items)
Collapse this list.
  1. include/tcb/span.hpp
  2. /usr/local/share/licenses/span-0.0.0.g20220615/catalog.mk
  3. /usr/local/share/licenses/span-0.0.0.g20220615/LICENSE
  4. /usr/local/share/licenses/span-0.0.0.g20220615/BSL
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • span>0:devel/span
To install the port: #
cd /usr/ports/devel/span/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/span
  • pkg install span
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: span
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1771105006 SHA256 (tcbrindle-span-0.0.0.g20220615-836dc6a_GH0.tar.gz) = e5888f78d583642848a12bc382f3956c0acc2ad9eb99bac509aa866e1e112144 SIZE (tcbrindle-span-0.0.0.g20220615-836dc6a_GH0.tar.gz) = 130461

Packages (timestamps in pop-ups are UTC): #
span
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.0.0.g202206150.0.0.g20220615--0.0.0.g20220615
FreeBSD:14:quarterly0.0.0.g202206150.0.0.g20220615--0.0.0.g20220615
FreeBSD:15:latest0.0.0.g202206150.0.0.g20220615n/a-n/a
FreeBSD:15:quarterly0.0.0.g202206150.0.0.g20220615n/a-n/a
FreeBSD:16:latest0.0.0.g202206150.0.0.g20220615n/a-n/a
This port has no dependencies. #
This port is required by: #
for Build #
  1. devel/lief

Configuration Options: #
No options to configure
Options name: #
devel_span
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/tcbrindle/span/tar.gz/836dc6a?dummy=/
Collapse this list.

Number of commits found: 1 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.0.0.g20220615
17 Feb 2026 16:53:37
commit hash: 4058c9a7e898f8c325cf0ae90a8c231ea8d3e3dbcommit hash: 4058c9a7e898f8c325cf0ae90a8c231ea8d3e3dbcommit hash: 4058c9a7e898f8c325cf0ae90a8c231ea8d3e3dbcommit hash: 4058c9a7e898f8c325cf0ae90a8c231ea8d3e3db files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/span: Add span 0.0.0.g20220615

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.

Number of commits found: 1