[Bug libstdc++/101091] std::views::take and std::views::drop are overconstrained

2021-06-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
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

2021-06-16 Thread j.galecki11 at gmail dot com via Gcc-bugs
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