[Bug libstdc++/109947] std::expected monadic operations do not support move-only error types yet

2023-06-06 Thread aemseemann at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109947 --- Comment #9 from Martin Seemann --- That's great news, looking forward to the next point release. Thank you very much for taking this to the committee and getting the process in motion so quickly!

[Bug libstdc++/109947] std::expected monadic operations do not support move-only error types yet

2023-05-24 Thread aemseemann at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109947 Martin Seemann changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/109947] std::expected monadic operations do not support move-only error types yet

2023-05-24 Thread aemseemann at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109947 --- Comment #3 from Martin Seemann --- Thanks for pointing me to the LWG issue. It makes sense that the error type must be copyable for the `value()` overloads due to potentially throwing a `bad_expected_access` with the embedded error embedded.

[Bug libstdc++/109947] New: std::expected monadic operations do not support move-only error types yet

2023-05-23 Thread aemseemann at gmail dot com via Gcc-bugs
: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: aemseemann at gmail dot com Target Milestone: --- GCC13 introduce monadic operations for `std::expected`, including r-value ref-qualified overloads, which suggests that

[Bug c++/59978] New: C++11 Non-Type-Template-Parameter Pack Expansion not working according to standard

2014-01-29 Thread aemseemann at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: aemseemann at gmail dot com Created attachment 31976 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31976&action=edit minimal-example source file from the desc