Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #403772
| From | David Brown <david.brown@hesbynett.no> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: OOP in C... |
| Date | 2026-10-29 08:56 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <11buu7e$34ll3$1@dont-email.me> (permalink) |
| References | <11blqhs$3vf3k$1@dont-email.me> <875wympfi7.fsf@gmail.com> <11btqh3$2qqmv$1@dont-email.me> |
On 28/10/2026 22:47, Chris M. Thomasson wrote: > On 10/27/2026 10:21 PM, steve g wrote: >> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> writes: >> >>> Fwiw, google groups seems to be working again! Found an older OOP >>> thing I >>> made: >> >> Oh good. For OOP gcc supports empty structures...? > > Iirc, it sure does. But its non std. > And remember of course that an empty struct has size 1, not size 0. (This applies to C++ as well - though it can be hidden by empty base class optimisation or use of [[no_unique_address]].)
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
OOP in C... "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-10-25 13:58 -0700
Re: OOP in C... steve g <Sgonedes1977@gmail.com> - 2026-10-28 01:21 -0400
Re: OOP in C... "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-10-28 14:47 -0700
Re: OOP in C... David Brown <david.brown@hesbynett.no> - 2026-10-29 08:56 +0100
Re: OOP in C... Lynn McGuire <lynnmcguire5@gmail.com> - 2026-10-29 13:58 -0500
csiph-web