[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with a custom constant string class
|
From: |
Pete French |
|
Subject: |
Re: Problems with a custom constant string class |
|
Date: |
Mon, 06 Aug 2007 15:53:42 +0100 |
> 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.