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
| System | Port | Version |
|---|---|---|
| NetBSD | devel/range-v3 | 0.10.0nb1 |
| FreeBSD | devel/range-v3 | 0.12.0 |
| OpenBSD | devel/range-v3 | 0.12.0p0 |
| DragonFly | devel/range-v3 | 0.12.0 |
| MidnightBSD | devel/range-v3 | 0.12.0 |
| HardenedBSD | devel/range-v3 | 0.12.0 |
| GhostBSD | devel/range-v3 | 0.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.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.10.0nb1 |
| NetBSD 10.1 aarch64 | 0.10.0nb1 |
| SmartOS / illumos x86_64 | 0.10.0nb1 |
| macOS 15 arm64 | 0.10.0nb1 |