Upstream software project

rx-ranges

Simpler ranges for C++17

About rx-ranges

Simpler ranges for C++17

This project links 2 native package records across 2 recorded operating-system releases. Compare the retained versions and architectures below, then open the package for your own release.

These are catalog observations, not a guarantee of installation, compatibility, or upstream support.

Project pictures and package coverage

rx-ranges repository preview from GitHub
Project repository preview, supplied by GitHub. Open source repository
Fedora 43: 1 package records; Fedora 44: 1 package records. Catalog coverage diagram, not an application screenshot.rx-ranges: recorded package coverageFedora 431 recordsFedora 441 records
OpenFactory diagram of linked package records. It is not an application screenshot.

Project identity

Project
rx-ranges
Publisher
Not authoritatively mapped
Native package records
2
Operating systems
fedora-43, fedora-44
License expression
MIT
Source repository
Open source repository

Source-reported description

The fullest retained description is shown with its source. Distribution packaging descriptions may include downstream details.

This is a ranges-like library for C++17 that provides zero-overhead list comprehensions with a pipe-like syntax. Standard containers can be filtered, transformed, passed through various algorithms, optimizing to loops that would not be more efficient if written by hand. The goal is to provide the tools to write more readable loops, where the intent of the programmer is clearly communicated to the reader. Mentally simulating loops is a common but error-prone part of reading other people's code, and indeed your own code from 3 months ago. The library makes heavy use of modern C++17 features, so a compliant C++17 compiler is required. Features: - Arbitrary composability. - Constexpr-friendly. - No unnecessary temporary heap allocations (`foo | sort() | to_vector()` only allocates into the resulting container). - Heap allocation minimization: `reserve()` is used on resulting containers, when possible. - Open-ended generators (non-terminating, infinite ranges). - Re-entrancy: A non-rvalue range can be used multiple times in a function. - Compatible with standard containers (anything that supports `std::begin()` and `std::end()`). - Compatible with standard algorithms (implicit conversion to iterator-like objects). - Simple extensibility with custom range adapters. Just implement the `InputRange` faux-concept. - Non-intrusive `operator|`. The ranges `foo | bar | baz` can be expressed as `baz(bar(foo))`, if using `operator|` would introduce ambiguous overloads. - No dependencies beyond the standard library. - Integration with foreign codebases (override hooks for `std::optional`, `std::remove_cvref_t`, assertions, etc.). Can easily be used as a submodule. - Compiler support for all major compilers (GCC, Clang, MSVC). - Zero-overhead, compared to manually written loops in optimized builds. - Header-only, and single-header. Other than usability concerns, these are the main differences from C++20 ranges: - Bidirectional ranges. Ranges can only be consumed linearly in the forward direction. - Random-access ranges. Ranges can only be consumed linearly in the forward direction. - Internally using iterators. The internal iteration objects are modeled with an "enumerator" concept instead (objects that provide `next()`, `get()`, `at_end()`, etc.), which simplifies custom extensions. Implicit, zero-overhead conversion to iterators is provided for compatibility with standard algorithms and the range-based for loop syntax. - Direct access to the data of underlying contiguous ranges (`data()` etc.).

Description source

Packages by operating system

Compare recorded versions, then open a package for dependency, file, checksum, and repository evidence. Version strings are distribution-specific, not a ranking of newer software.

Fedora 43

  1. Package rx-ranges-devel

    43 (Fedora 43) (Unspecified): Simpler ranges for C++17

    2.0.0-2.fc43: noarch

    Source: rx-ranges

Fedora 44

  1. Package rx-ranges-devel

    44 (Fedora 44) (Unspecified): Simpler ranges for C++17

    2.0.0-4.fc44: noarch

    Source: rx-ranges

Project resources and further reading

Mapping provenance

Only source-backed identity signals create public cross-OS links. A reviewer can later approve or dispute an inferred relationship without rewriting native package history.

No field-level source record is published yet.