[Bug libstdc++/100795] ranges::sample should not use std::sample directly

2025-02-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 Jonathan Wakely changed: What|Removed |Added CC||arthur.j.odwyer at gmail dot com ---

[Bug libstdc++/100795] ranges::sample should not use std::sample directly

2025-02-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 Jonathan Wakely changed: What|Removed |Added CC||curdeius at gmail dot com --- Comment

[Bug libstdc++/100795] ranges::sample should not use std::sample directly

2024-11-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2021-05-27 00:00:00 |2024-11-13 --- Comment #12 from Jonat

[Bug libstdc++/100795] ranges::sample should not use std::sample directly

2024-11-13 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 Jonathan Wakely changed: What|Removed |Added CC||de34 at live dot cn --- Comment #11 f

[Bug libstdc++/100795] ranges::sample should not use std::sample directly

2022-07-19 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 --- Comment #10 from 康桓瑋 --- For non-std::sample branches, we still have to consider that _Out only works with its difference_type, so an explicit casting is missing here. 1580 | return __out + __sample_sz; |

[Bug libstdc++/100795] ranges::sample should not use std::sample directly

2022-02-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 Andrew Pinski changed: What|Removed |Added CC||Berenger.Berthoul at onera dot fr ---

[Bug libstdc++/100795] ranges::sample should not use std::sample directly

2021-11-23 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 Barry Revzin changed: What|Removed |Added CC||barry.revzin at gmail dot com --- Commen

[Bug libstdc++/100795] ranges::sample should not use std::sample directly

2021-07-16 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 --- Comment #7 from 康桓瑋 --- (In reply to Patrick Palka from comment #6) > (In reply to 康桓瑋 from comment #2) > > ranges::inplace_merge has the same issue: > > > > > > #include > > #include > > #include > > > > int main() { > > std::array

[Bug libstdc++/100795] ranges::sample should not use std::sample directly

2021-07-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

[Bug libstdc++/100795] ranges::sample should not use std::sample directly

2021-05-27 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 --- Comment #5 from 康桓瑋 --- (In reply to 康桓瑋 from comment #4) > Same with ranges::make_heap, ranges::push_heap, ranges::pop_heap, and > ranges::sort_heap when _GLIBCXX_CONCEPT_CHECKS is defined. And std::ranges::shuffle.

[Bug libstdc++/100795] ranges::sample should not use std::sample directly

2021-05-27 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 --- Comment #4 from 康桓瑋 --- Same with ranges::make_heap, ranges::push_heap, ranges::pop_heap, and ranges::sort_heap when _GLIBCXX_CONCEPT_CHECKS is defined.

[Bug libstdc++/100795] ranges::sample should not use std::sample directly

2021-05-27 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 --- Comment #3 from 康桓瑋 --- (In reply to 康桓瑋 from comment #2) > ranges::inplace_merge has the same issue: > > > #include > #include > #include > > int main() { > std::array a{42, 42, 42}; > auto r = std::views::iota(0, 3) | >

[Bug libstdc++/100795] ranges::sample should not use std::sample directly

2021-05-27 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 --- Comment #2 from 康桓瑋 --- ranges::inplace_merge has the same issue: #include #include #include int main() { std::array a{42, 42, 42}; auto r = std::views::iota(0, 3) | std::views::transform([&a](int i) -> int& { return a[

[Bug libstdc++/100795] ranges::sample should not use std::sample directly

2021-05-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|