lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: avoiding forward declarations in stencil.hh


From: David Kastrup
Subject: Re: avoiding forward declarations in stencil.hh
Date: Mon, 30 Jan 2012 15:12:15 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

"address@hidden" <address@hidden> writes:

> On Jan 30, 2012, at 2:49 PM, David Kastrup wrote:
>
>> logical impossibility
>
> This is all I needed to know - thanks!

Well, it forces
sizeof(x) <= 2*sizeof(x)
and we know sizeof(x)>= 0, so it is not logically impossible as long as
the structure does not contain anything else beside two structures of
its own kind.

But there won't be room for payload then.

Using a pointer is ok, and SCM is kind of a pointer.

-- 
David Kastrup




reply via email to

[Prev in Thread] Current Thread [Next in Thread]