[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with a custom constant string class
From: |
Vincent Geddes |
Subject: |
Re: Problems with a custom constant string class |
Date: |
Mon, 06 Aug 2007 19:57:58 +0200 |
On Mon, 2007-08-06 at 15:53 +0100, Pete French wrote:
> > Is there any way I can have a constant string class that can subclass
> > anything other than `Object'?
>
> Yes, as long as the thing you are subclassing from doesnt have any
> instance variables, as it has to have a specific layout on the
> stack. That can make doing some things a bit fiddly, but it does
> work.
>
Aha, thanks. It all works now.
-Vincent