range-v3
« Back to VersTracker
Description:
Experimental range library for C++14/17/20
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c++ library ranges stl header-only
Install: brew install range-v3
About:
RangeV3 is a foundational library that brings the C++20 Ranges framework to older C++14 and C++17 compilers. It provides a modern, composable, and functional approach to handling sequences of data, replacing verbose iterator-based loops with clear, declarative syntax. This library serves as a proving ground for features destined for the C++ standard library.
Key Features:
  • Lazy evaluation of range operations for performance
  • Composable algorithms using a pipe syntax
  • Full compatibility with C++14 and C++17
  • Provides the basis for C++20 Ranges and Views
Use Cases:
  • Modernizing legacy C++ codebases to use declarative syntax
  • Implementing complex data processing pipelines efficiently
  • Preparing code for future migration to C++20/23 standards
Alternatives:
  • C++20 <ranges> – The official standard library version; requires a C++20 compliant compiler.
  • Boost.Range – An older, heavier-weight library with similar goals but less modern syntax.
Version History
Detected Version Rev Change Commit