[Bug libstdc++/101091] std::views::take and std::views::drop are overconstrained
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101091 Patrick Palka changed: What|Removed |Added Resolution|--- |DUPLICATE CC|
[Bug libstdc++/101091] std::views::take and std::views::drop are overconstrained
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101091 --- Comment #1 from Jakub GaĆecki --- Consider the following example: https://godbolt.org/z/YYzqWaM9G #include #include #include void copy_drop_n1(const std::vector& src, std::vector& dest, std::size_t n) { // size_t - na