public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/59012] New: alignas does not support parameter pack expansions
@ 2013-11-05 19:34 redi at gcc dot gnu.org
  2013-11-05 19:43 ` [Bug c++/59012] " redi at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: redi at gcc dot gnu.org @ 2013-11-05 19:34 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59012

            Bug ID: 59012
           Summary: alignas does not support parameter pack expansions
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
            Blocks: 58601

template<unsigned N, typename... T>
struct aligned_union
{
  alignas(T...) char data[N];
};

int main()
{
  aligned_union<8, double> a;
}


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-09-20 22:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-05 19:34 [Bug c++/59012] New: alignas does not support parameter pack expansions redi at gcc dot gnu.org
2013-11-05 19:43 ` [Bug c++/59012] " redi at gcc dot gnu.org
2013-11-06  0:24 ` paolo.carlini at oracle dot com
2014-08-14 17:32 ` redi at gcc dot gnu.org
2015-05-08  4:42 ` jason at gcc dot gnu.org
2015-05-08 21:15 ` jason at gcc dot gnu.org
2021-09-20 22:00 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).