Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail |
|---|---|
| NNTP-Posting-Date | Mon, 25 Nov 2013 16:10:02 -0600 |
| Return-Path | <cppmods@mcgurn.dreamhost.com> |
| Sender | std-cpp-request@vandevoorde.com |
| Approved | james.dennett@gmail.com |
| Message-ID | <529384B5.7090202@verizon.net> (permalink) |
| Newsgroups | comp.std.c++ |
| From | James Kuyper <jameskuyper@verizon.net> |
| Subject | Re: proposal: new bitfield value to ensure structure packing |
| Organization | Self |
| References | <d2b978c2-585a-47e2-84a9-f345f7751d32@googlegroups.com> <e85511f5-5edb-4820-bf5d-e0af755c4f1e@googlegroups.com> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-Original-Date | Mon, 25 Nov 2013 12:11:17 -0500 |
| X-Submission-Address | std-cpp-submit@vandevoorde.com |
| To | undisclosed-recipients:; |
| Date | Mon, 25 Nov 2013 16:09:44 CST |
| Lines | 19 |
| X-Usenet-Provider | http://www.giganews.com |
| X-Trace | sv3-3sqEI4tjNWGCwtXrKhdWZPnu+DVAw7TWHrpoAIh+2ZBI9LyQrNqW972/yuWWzhaUszk9KZHhbEkC9k9!stgCFSJrs/+gbkdobfJGzmnn6Gj2tGDF8hY0+XdozVy54B8f0AdRrg== |
| X-Complaints-To | abuse@giganews.com |
| X-DMCA-Notifications | http://www.giganews.com/info/dmca.html |
| X-Abuse-and-DMCA-Info | Please be sure to forward a copy of ALL headers |
| X-Abuse-and-DMCA-Info | Otherwise we will be unable to process your complaint properly |
| X-Postfilter | 1.3.40 |
| X-Original-Bytes | 1833 |
| Xref | csiph.com comp.std.c++:695 |
Show key headers only | View raw
On 11/25/2013 11:44 AM, ootiib@hot.ee wrote:
...
> If you want to remove alignment requirements of 'A::i' then
> why not simply:
>
> struct A { char c; int i:-1; };
>
> ?
That makes it impossible to make 'i' a bit-field.
--
[ 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 ]
Back to comp.std.c++ | Previous | Next — Previous in thread | Next in thread | Find similar
proposal: new bitfield value to ensure structure packing danielgutson@googlemail.com - 2013-11-22 09:04 -0600
Re: proposal: new bitfield value to ensure structure packing ootiib@hot.ee - 2013-11-25 08:44 -0800
Re: proposal: new bitfield value to ensure structure packing James Kuyper <jameskuyper@verizon.net> - 2013-11-25 16:09 -0600
Re: proposal: new bitfield value to ensure structure packing danielgutson@googlemail.com - 2013-11-26 17:19 -0800
Re: proposal: new bitfield value to ensure structure packing danielgutson@googlemail.com - 2013-11-26 17:19 -0800
csiph-web