[Bug c++/118104] New: [trunk regression] ICE when substituting packs into type aliases

2024-12-18 Thread zyn7109 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118104 Bug ID: 118104 Summary: [trunk regression] ICE when substituting packs into type aliases Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug c++/108884] [temp.friends]/9: Should constraint friends declared in class scope differ with definition out of scope?

2023-02-22 Thread zyn7109 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108884 --- Comment #8 from Younan Zhang --- Sorry for duplicate comments. Network issue :( And thanks Patrik's explaination.

[Bug c++/108884] [temp.friends]/9: Should constraint friends declared in class scope differ with definition out of scope?

2023-02-22 Thread zyn7109 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108884 --- Comment #7 from Younan Zhang --- (In reply to Patrick Palka from comment #4) > (In reply to Younan Zhang from comment #2) > > (In reply to Patrick Palka from comment #1) > > > #1 is neither a non-template friend declaration with a requires-c

[Bug c++/108884] [temp.friends]/9: Should constraint friends declared in class scope differ with definition out of scope?

2023-02-22 Thread zyn7109 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108884 --- Comment #6 from Younan Zhang --- (In reply to Patrick Palka from comment #4) > (In reply to Younan Zhang from comment #2) > > (In reply to Patrick Palka from comment #1) > > > #1 is neither a non-template friend declaration with a requires-c

[Bug c++/108884] [temp.friends]/9: Should constraint friends declared in class scope differ with definition out of scope?

2023-02-22 Thread zyn7109 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108884 Younan Zhang changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/108884] [temp.friends]/9: Should constraint friends declared in class scope differ with definition out of scope?

2023-02-22 Thread zyn7109 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108884 --- Comment #3 from Younan Zhang --- (In reply to Younan Zhang from comment #2) > (In reply to Patrick Palka from comment #1) > > #1 is neither a non-template friend declaration with a requires-clause nor a > > friend function template with a co

[Bug c++/108884] [temp.friends]/9: Should constraint friends declared in class scope differ with definition out of scope?

2023-02-22 Thread zyn7109 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108884 --- Comment #2 from Younan Zhang --- (In reply to Patrick Palka from comment #1) > #1 is neither a non-template friend declaration with a requires-clause nor a > friend function template with a constraint that depends on a template > parameter f

[Bug c++/108884] New: [temp.friends]/9: Should constraint friends declared in class scope differ with definition out of scope?

2023-02-22 Thread zyn7109 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108884 Bug ID: 108884 Summary: [temp.friends]/9: Should constraint friends declared in class scope differ with definition out of scope? Product: gcc Version: 10.0 Status: UNCON

[Bug libstdc++/104465] std::vector should satisfy std::ranges::viewable_range (P2415 for -c++2b)

2022-02-09 Thread zyn7109 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104465 --- Comment #6 from Younan Zhang --- (In reply to Jonathan Wakely from comment #4) > But the reason that it accepts the argument is that it's an lvalue. > > You tested std::ranges::viewable_range> but you > should have tested std::ranges::viewa

[Bug libstdc++/104465] std::vector should satisfy std::ranges::viewable_range (P2415 for -c++2b)

2022-02-09 Thread zyn7109 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104465 --- Comment #1 from Younan Zhang --- * link typo for Clang 13 demo: https://gcc.godbolt.org/z/f7Eb53zb5

[Bug libstdc++/104465] New: std::vector should satisfy std::ranges::viewable_range (P2415 for -c++2b)

2022-02-09 Thread zyn7109 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104465 Bug ID: 104465 Summary: std::vector should satisfy std::ranges::viewable_range (P2415 for -c++2b) Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norm