Search code examples
How to sum a std::range?...


c++c++20std-ranges

Read More
Why does take(n) used on an istream_view cause it to skip the next token in C++20?...


c++stdc++20std-ranges

Read More
Can `split_view` or a composition of multiple `spilt_view`s be used to split a `string`/`string_view...


c++splitstd-rangesc++23string-view

Read More
Can't create std::ranges::subrange with my iterator...


c++c++20std-ranges

Read More
Unexpected result with `std::views::transform`, probably caused by "unnamed temporary"...


c++gccclangc++20std-ranges

Read More
What is the difference between std::fill_n and std::ranges::fill_n?...


c++c++20std-ranges

Read More
Concatenate multiple range adaptors into one single ranges in C++20...


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

Read More
Do C++20 ranges support group by functionality?...


c++c++20std-ranges

Read More
C++20 ranges and sorting...


c++sortingc++20std-ranges

Read More
Why does std::ranges::find_if return an iterator but std::ranges::find_last_if does not?...


c++stdstd-rangesc++23

Read More
How can I specify the return type of a function that returns the result of a ranges pipeline?...


c++c++20std-ranges

Read More
Use of both predicates and projections in ranges...


c++c++20std-ranges

Read More
Cannot iterate over const view...


c++filterstd-ranges

Read More
Adapt an existing range type to be c++20 ranges compatible without changing it...


c++std-ranges

Read More
a more explicit type instead of auto for std::ranges::views result...


c++std-ranges

Read More
std::set<std::unique_ptr<int>>and std::views::as_rvalue...


c++rvalue-referencestd-rangesc++23

Read More
Why can't I pass a std::views::join by const reference?...


c++c++20std-ranges

Read More
How to sort a vector using std::views C++20 feature?...


c++stlc++20std-ranges

Read More
Is std::ranges::transform_view::iterator not an InputIterator?...


c++stdvectorstd-rangesc++23iota

Read More
Why can't I use the subscript operator on the result of std::ranges::to<std::vector>()?...


c++g++std-rangesc++23

Read More
Consume InputIterator with C++ ranges...


c++std-ranges

Read More
What does the vertical pipe | mean in the context of c++20 and ranges?...


c++c++20std-rangesbitwise-or

Read More
Why does direct-initialization not work for std::views::iota?...


c++std-rangesiotadirect-initialization

Read More
Why is iter_const_reference_t not simply using std::add_const_t?...


c++std-rangesc++23

Read More
Why do ranges::find and ranges::find_last have inconsistent return types?...


c++std-rangesc++23

Read More
Invalid operands to binary expression when importing custom view from a module...


c++c++20std-rangesc++-modules

Read More
What is the best way to drop last element using c++20 ranges...


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

Read More
ranges::max on filter_view returns a removed element...


c++algorithmstdvectorstd-rangesc++23

Read More
How to create a view over a key/values range?...


c++std-rangesrange-v3

Read More
Is there any standard functionality for creating a flattened view of a map with a container as the m...


c++c++20std-ranges

Read More
BackNext