🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1102

Re: OOP in C...

#1102
From: David Brown
Date: Thu, 29 Oct 2026 07:56
16 lines
1851 bytes
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]].)
Technical Details
Message-ID: <11buu7e$34ll3$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11blqhs$3vf3k$1@dont-email.me> <875wympfi7.fsf@gmail.com> <11btqh3$2qqmv$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: David Brown <david.brown@hesbynett.no>
Newsgroups: comp.lang.c
Subject: Re: OOP in C...
Date: Thu, 29 Oct 2026 08:56:30 +0100
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <11buu7e$34ll3$1@dont-email.me>
References: <11blqhs$3vf3k$1@dont-email.me> <875wympfi7.fsf@gmail.com>
 <11btqh3$2qqmv$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 29 Oct 2026 07:56:31 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3298979"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18wOZ2G9jfS1V9qW0mKowVDoBilmnopPiQ="; posting-host="ee186c62f9168531a82b8aa89ffdfee0"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:rKKJK6GPR7vrrMavTTVmLrcAA8E= sha256:s/nkRvdYYkv2ABsP8fEJ9QVv/NFmHVSKIRimqV6Hsqw=
	sha1:JWH6i9dhFTJyc8qUD8gQ/CC9WYY= sha256:qC8PYBQ2NFDUlWDBzNgPudm7ImV6thESGu0YjhUu00o=
Content-Language: en-GB, nb-NO
In-Reply-To: <11btqh3$2qqmv$1@dont-email.me>