Search code examples
Standard algorithm to operate on adjacent elements...


c++stl-algorithmstd-ranges

Read More
Do C++20 ranges have value(not predicate) version of filter or any_of?...


c++c++20std-ranges

Read More
Why does this usage of std::move and std::list with a custom view type cause an infinite recursion?...


c++stlc++20move-semanticsstd-ranges

Read More
boost::range::combine does not work with std::subrange...


c++boostc++20std-ranges

Read More
Why does GCC copy object for each comparison in `std::ranges::max`?...


c++gccstlclangstd-ranges

Read More
Why doesn't std::ranges::find compile while std::find works fine?...


c++c++20std-ranges

Read More
What is the difference between "functions" and "function-like entities" in C++ a...


c++c++20std-ranges

Read More
How to get individual chunks from std::chunk_by return value?...


c++std-rangesc++23

Read More
Why can std::vector not accept iota_view iterators of type size_t?...


c++iteratorc++20std-ranges

Read More
Some C++20 ranges views not compatible with std::copy...


c++std-ranges

Read More
std::ranges::algorithms differ in semantics compared to range-based for() loop in regard to the usag...


c++for-loopstd-rangesc++23

Read More
What is the difference between iterator_category and iterator_concept?...


c++iteratorc++20std-rangesiterator-traits

Read More
User-defined pipeable view adaptor fails when lambda-capture is not empty...


c++std-rangesc++23

Read More
Can't pipe user-defined range adaptor with a standard library one...


c++std-rangesc++23

Read More
Custom view not able to be combined with other views in c++20...


c++c++20std-ranges

Read More
Why does ranges::for_each return the function?...


c++language-lawyerc++20language-designstd-ranges

Read More
How to chain views for printing elements in C++20 or C++23?...


c++c++20std-rangesc++23

Read More
How to define a type-erased ranges::view?...


c++c++20type-erasurestd-ranges

Read More
std::views:filter for some reason can't deduce argument type in a function pointer...


c++c++20std-ranges

Read More
C++23: How to erase a subrange from vector...


c++std-rangesc++23

Read More
C++23: Is it valid to modify the elements of a `zip_view`?...


c++language-lawyerstd-rangesc++23

Read More
Is there a std::view (or something like that) which occupies every nth element?...


c++iteratorc++20std-ranges

Read More
how to iterate over "enumerated zip" of 2 containers in C++23?...


c++std-rangesc++23

Read More
Custom view works for vector, but not array or initializer_list...


c++c++20std-rangesrange-v3

Read More
Detecting compile-time constantness of range size...


c++language-lawyerc++20c++-conceptsstd-ranges

Read More
Why doesn't my rangesv3 pipe operator code compile for transforming and joining a vector of ints...


c++std-ranges

Read More
How to use range::minmax_element on a range::concat buffer with a specific range to be tested...


c++c++20std-ranges

Read More
C++20's std::views::filter not filtering the view correctly...


c++filterg++c++20std-ranges

Read More
Pass `std::optional::value` to `std::views::transform`...


c++c++20std-rangesstdoptional

Read More
Is using ranges in c++ advisable at all?...


c++c++20range-v3std-ranges

Read More
BackNext