[Bug c++/91499] Compile error when trying to aggregate-initialize a member array of non-movable objects with user-defined destructor

2019-08-20 Thread l2m at ukr dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91499 --- Comment #1 from Taras --- (In reply to Taras from comment #0) > > Here's the code that fails to compile on GCC: > > class Test // non-copyable and non-movable class with virtual functions > { upd.: The destructor isn't necessarily require

[Bug c++/91499] New: Compile error when trying to aggregate-initialize a member array of non-movable objects with virtual functions

2019-08-20 Thread l2m at ukr dot net
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: l2m at ukr dot net Target Milestone: --- Created attachment 46733 --> https://gcc.gnu.org/bugzilla/attachment.cgi