range-v3

Range library for C++14/17/20, basis for C++20's std::ranges (by ericniebler)

Range-v3 Alternatives

Similar projects and alternatives to range-v3

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better range-v3 alternative or higher similarity.

range-v3 reviews and mentions

Posts with mentions or reviews of range-v3. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-28.
  • what annoys you most while using c++?
    5 projects | reddit.com/r/cpp | 28 Aug 2022
    It contains very little functionality compared to the Eric Niebler’s reference implementation for my liking. Especially views. This will undoubtedly change in the future. But the point is moot, because they are not really supported the is no other option for now other than https://github.com/ericniebler/range-v3.
  • C++20 Ranges Algorithms – 7 Non-Modifying Operations
    5 projects | news.ycombinator.com | 25 Apr 2022
    range-v3 is a great library allowing you to bridge the gap: https://github.com/ericniebler/range-v3
  • CXXIter: A chainable c++20 LINQ-like iterator library
    5 projects | reddit.com/r/cpp | 3 Jan 2022
    [range-v3](https://github.com/ericniebler/range-v3) which std::ranges was based on has the `to>()` which as far as I know is expected to get into c++23 :)
  • CPPItertools: Implementation Of Python's Itertools For C++
    2 projects | reddit.com/r/cpp | 29 Nov 2021
    And here is getlines view in range-v3: https://github.com/ericniebler/range-v3/blob/master/include/range/v3/view/getlines.hpp
  • Retiring boost from my codebase
    11 projects | reddit.com/r/cpp | 29 Jul 2021
  • What's up with C++ ranges?
    6 projects | reddit.com/r/cpp | 23 Jul 2021
    // Must call the below range pipeline to produce a string on an lvalue. Since // we end the pipeline with to_string everything is evaluated here, so no // lifetime issue. auto rows = this -> rows_iter(); namespace rv = ranges::views; // See dynamic width https://fmt.dev/7.1.3/syntax.html#format-examples return rows | rv::transform([elem_delim, width](const auto& row) { // For every row return rv::all(row) // For each row | rv::transform([width](const auto& elem) { // Format each element with padding return fmt::format("{:>{}}", elem, width); }) // Can't use views::join because views::transform returns a // temporary. // Can't use actions::join as it doesn't support a delimiter // https://github.com/ericniebler/range-v3/issues/1406 // views::intersperse and actions::join works // // Add delimiters, combine into one string for the row | rv::intersperse(std::string{elem_delim}) | ranges::actions::join; }) | rv::cache1 | rv::join(row_delim) | ranges::to();
    6 projects | reddit.com/r/cpp | 23 Jul 2021
    Range-v3 has indices and closed_indices those single-argument constructor behaves like you expect. Also name is more intuitive.
  • Recommendation on resources about creating C++ template libraries
    3 projects | reddit.com/r/cpp | 3 Mar 2021
  • A note from our sponsor - Sonar
    www.sonarsource.com | 29 Jan 2023
    Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work. Learn more →

Stats

Basic range-v3 repo stats
13
3,628
6.7
about 1 month ago
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com