BSD Ports

devel/range-v3 0.10.0nb1 NetBSD

Range library for C++14/17/20, basis for std::ranges in C++20

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
boost-license
Categories
devel
Package size
206.1 KiB, 1962.8 KiB installed

Description

Range library for C++14/17/20. This code was the basis of a formal proposal to add range support to the C++ standard library. That proposal evolved through a Technical Specification, and finally into P0896R4 "The One Ranges Proposal" which was merged into the C++20 working drafts in November 2018.

Ranges are an extension of the Standard Template Library that makes its iterators and algorithms more powerful by making them composable. Unlike other range-like solutions which seek to do away with iterators, in range-v3 ranges are an abstration layer on top of iterators.

In the other systems

SystemPortVersion
NetBSDdevel/range-v30.10.0nb1
FreeBSDdevel/range-v30.12.0
OpenBSDdevel/range-v30.12.0p0
DragonFlydevel/range-v30.12.0
MidnightBSDdevel/range-v30.12.0
HardenedBSDdevel/range-v30.12.0
GhostBSDdevel/range-v30.12.0

Install

Binary package:

pkgin install range-v3

From pkgsrc:

cd /usr/pkgsrc/devel/range-v3 && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.10.0nb1
NetBSD 10.1 aarch640.10.0nb1
SmartOS / illumos x86_640.10.0nb1
macOS 15 arm640.10.0nb1

Dependencies