Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.std.c++ > #162 > unrolled thread
| Started by | Ian Collins<ian-news@hotmail.com> |
|---|---|
| First post | 2011-06-17 13:16 -0600 |
| Last post | 2011-06-20 10:29 -0600 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.std.c++
Why is the operand of alignof restricted to a type? Ian Collins<ian-news@hotmail.com> - 2011-06-17 13:16 -0600
Re: Why is the operand of alignof restricted to a type? Arne Mertz <arnemertz@googlemail.com> - 2011-06-20 10:29 -0600
| From | Ian Collins<ian-news@hotmail.com> |
|---|---|
| Date | 2011-06-17 13:16 -0600 |
| Subject | Why is the operand of alignof restricted to a type? |
| Message-ID | <95vdg3FqbqU1@mid.individual.net> |
This question came up on c.s.c, so I though I'd ask here. From 6.5.3.4 sizeof may be applied to an expression or the parenthesised name of a type while alignof may only be applied to the parenthesised name of a type. Is there a reason for the discrepancy? -- Ian Collins [ comp.std.c++ is moderated. To submit articles, try posting with your ] [ newsreader. If that fails, use mailto:std-cpp-submit@vandevoorde.com ] [ --- Please see the FAQ before posting. --- ] [ FAQ: http://www.comeaucomputing.com/csc/faq.html ]
[toc] | [next] | [standalone]
| From | Arne Mertz <arnemertz@googlemail.com> |
|---|---|
| Date | 2011-06-20 10:29 -0600 |
| Message-ID | <d1839b75-ef2c-4423-b4e6-d2539d9baf64@e7g2000vbw.googlegroups.com> |
| In reply to | #162 |
This _is_ c.s.c, right? [Moderator's note: "c.s.c" is somewhat ambiguous, either comp.std.c or comp.std.c++. This group is comp.std.c++. See the note below. - sdc ] -- [ comp.std.c++ is moderated. To submit articles, try posting with your ] [ newsreader. If that fails, use mailto:std-cpp-submit@vandevoorde.com ] [ --- Please see the FAQ before posting. --- ] [ FAQ: http://www.comeaucomputing.com/csc/faq.html ]
[toc] | [prev] | [standalone]
Back to top | Article view | comp.std.c++
csiph-web