public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bkoz at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/17743] dependent expressions in attributes
Date: Mon, 18 Oct 2004 05:23:00 -0000	[thread overview]
Message-ID: <20041018052346.10669.qmail@sourceware.org> (raw)
In-Reply-To: <20040930042632.17743.bkoz@gcc.gnu.org>


------- Additional Comments From bkoz at redhat dot com  2004-10-18 05:23 -------
Subject: Re:  dependent expressions in attributes


>Is this a showstopper for tr1 work?
 
Not that I can see. From what I can tell, tr1::array is going to require
default-constructable types. 

I think the library hackers are interested in this kind of stuff for our
own selfish reasons.

I guess I don't see why/how alignof should be different than sizeof
here (which works):

 template <class T>
 struct A 
 {
   char foo[sizeof(T)];
 };

-benjamin


-- 


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


  parent reply	other threads:[~2004-10-18  5:23 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-30  4:26 [Bug c++/17743] New: __alignof__ vs. typedefs bkoz at gcc dot gnu dot org
2004-09-30  4:28 ` [Bug c++/17743] " bkoz at gcc dot gnu dot org
2004-09-30  4:29 ` bkoz at gcc dot gnu dot org
2004-09-30  4:30 ` bkoz at gcc dot gnu dot org
2004-09-30  4:33 ` bkoz at gcc dot gnu dot org
2004-09-30  4:33 ` bkoz at gcc dot gnu dot org
2004-09-30  4:45 ` pinskia at gcc dot gnu dot org
2004-09-30  4:47 ` pinskia at gcc dot gnu dot org
2004-09-30 11:12 ` gdr at cs dot tamu dot edu
2004-09-30 12:27 ` giovannibajo at libero dot it
2004-09-30 14:48 ` bkoz at redhat dot com
2004-10-15  1:49 ` giovannibajo at libero dot it
2004-10-16  2:00 ` giovannibajo at libero dot it
2004-10-16  3:37 ` mark at codesourcery dot com
2004-10-16 13:52 ` bkoz at redhat dot com
2004-10-17  4:39 ` cvs-commit at gcc dot gnu dot org
2004-10-17  4:48 ` [Bug c++/17743] dependent expressions in attributes giovannibajo at libero dot it
2004-10-17  7:50 ` gdr at cs dot tamu dot edu
2004-10-18  3:51 ` giovannibajo at libero dot it
2004-10-18  5:23 ` bkoz at redhat dot com [this message]
2004-10-18 16:38 ` giovannibajo at libero dot it
2004-10-18 18:57 ` bkoz at gcc dot gnu dot org
2004-10-19  6:23 ` bkoz at redhat dot com
2004-10-27 17:19 ` bkoz at gcc dot gnu dot org
2004-10-28  3:38 ` giovannibajo at libero dot it
     [not found] <bug-17743-365@http.gcc.gnu.org/bugzilla/>
2005-10-05 21:03 ` bkoz at gcc dot gnu dot org
2005-10-05 21:06 ` bkoz at gcc dot gnu dot org
2005-10-05 21:16 ` rth at gcc dot gnu dot org
2005-10-05 22:34 ` mark at codesourcery dot com
2007-09-22 14:29 ` jason at gcc dot gnu dot org
2007-09-22 14:30 ` jason at gcc dot gnu dot org
2007-09-25 21:48 ` pinskia at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041018052346.10669.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).