Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| 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> |
| Date | 2013-11-25 16:09 -0600 |
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