--- Neven MacEwan <[EMAIL PROTECTED]> wrote: [...]
> With the recent Kylix launch I'm really surprised
how little traffic
> there
> has been re Kylix/D6
Yeah, looks great!
> Did anyone else notice with the advent of
"CustomVariant" Type that you
> could not "operater overload" in Delphi
Yes!
>From what I've seen/heard, C++ people seem to regard
operator
overloading as dodgy - hard to debug or something, but
it's
always looked useful to me. I guess there is potential
to create
different behaviour on 2 classes so instances will
behave
differently
(myObj1 + myObj2 <> myObj2 + myObj1)
> Mystery is why they made a whole new class branch
with this property
[...]
> not just incorp it in TObject
>
Is it that Arithmetic probably more common when using
TCustomVariant?
if so it would be a nice way to encapsulate/hide a
whole lot of
(Linux) C/C++ pointer offset arithmetic without
exposing pointers,
(or using PChars for everything)
Wonder if the Kylix dev.'s got sick of creating Add
methods
on every Variant and threw it in.
> ie
[...]
> you can define the behaviour of +
in a nice way too, the addop etc keywords look good
(and consistent).
Know what operations will be available? Is it only the
four
arithmetic ops.?
>
> Neven
>
(Now I just have to repartition without trashing
stoopid windows ...)
/Kurt.
_____________________________________________________________________________
http://store.yahoo.com.au - Yahoo! Store
- The fastest, easiest way to open an online store.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"