[Bug c++/93106] New: [c++2a] Deleted move constructor is not selected when returning an automatic variable

2019-12-30 Thread ph3rin at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ph3rin at gmail dot com Target Milestone: --- According to the c++ standard (draft n4835) the following code should not compile because it references a deleted

[Bug c++/93106] [c++2a] Deleted move constructor is not selected when returning an automatic variable

2020-01-03 Thread ph3rin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93106 --- Comment #2 from Yunrui Wang --- (In reply to Jakub Jelinek from comment #1) > What you cite doesn't say anything that would make the testcase invalid. > The standard says that for an implicitly movable entity seen in return > statement shall

[Bug c++/93106] [c++2a] Deleted move constructor is not selected when returning an automatic variable

2023-04-27 Thread ph3rin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93106 Yunrui Wang changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---