This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
When a variable with a pack expansion initializer expands to a null list, we build a value-initialization to use for initializing that variable. We need to mark it as direct-initialization to avoid problems with move-only types. Tested x86_64-pc-linux-gnu, applying to trunk.
Attachment:
variadic-moveonly.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |