Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in std-ranges

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

c++ c++20 std-ranges

Passing std::ranges::views as parameters in C++20

c++ c++20 std-ranges

Why can't C++23's enumerate_view (unlike Range-v3's namesake) be piped into Range-v3's to_vector?

c++ c++23 std-ranges range-v3

How to use iota_view for custom IntLike types?

c++ c++20 std-ranges iota

ranges::sort does not compile

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

Range concept for a specific type

How can I elegantly fill/initialize two (or more) ranges from a range containing pairs/tuples of elements?

c++ std-ranges c++23

Why does std::views::take_while() do so many function invocations? (even with `cache_latest`)

c++ std-ranges c++23 c++26

How can I combine corresponding items from several vectors into a single vector of structs?

c++ c++20 std-ranges

Issue with a custom range when using both std::views::join and std::views::enumerate

c++ iterable std-ranges

Using ranges::copy_if versus using iterator constructor with views::filter

c++ c++20 std-ranges

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

c++ iterator c++20 std-ranges

Why does ranges::for_each return the function?

Can I compare two view sentinels?

c++ c++20 std-ranges

What's the return type of std::ranges::max_element?

c++ c++20 std-ranges

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

Use of both predicates and projections in ranges

c++ c++20 std-ranges