|
|
Invisible wrote:
> I think it could be supported efficiently; I just
> can't think of any language which does it.
C# lets you declare arrays of objects that are inline like C++, and the
generic "List" class will generate special versions when you instantiate it
with a class that is pass-by-value, but the nature of the pass-by-value
objects is that you can't inherit from them and add any fields, so the
question doesn't come up.
>> Perhaps not *impossible*, but as you may guess, quite hard and kludgey.
>
> Not if it's hard-wired into the language.
Yeah. C++ style OO is kludgey in C. That's why cfront was written. :-)
--
Darren New, San Diego CA, USA (PST)
The question in today's corporate environment is not
so much "what color is your parachute?" as it is
"what color is your nose?"
Post a reply to this message
|
|