[Bug c++/70395] [C++11] Error when initializing array of non-copyable non-trivial type in constructor initializer list

2016-03-24 Thread mosra at centrum dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70395 --- Comment #2 from Vladimír Vondruš --- Forgot to add that if I default the move constructor/assignment, it also compiles fine (as the error message suggests).

[Bug c++/70395] New: [C++11] Error when initializing array of non-copyable non-trivial type in constructor initializer list

2016-03-24 Thread mosra at centrum dot cz
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mosra at centrum dot cz Target Milestone: --- I am getting an error when trying to compile the following snippet: struct NonCopyable

[Bug c++/66450] New: [5 Regression][C++11][constexpr] Issues when delegating implicit copy constructor in constexpr function

2015-06-07 Thread mosra at centrum dot cz
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mosra at centrum dot cz Target Milestone: --- The following code is compiled fine in both GCC 4.9.2 and Clang 3.6: struct