[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: operator overloading
From: |
Marko Riedel |
Subject: |
Re: operator overloading |
Date: |
Tue, 7 Mar 2006 21:49:02 +0100 (CET) |
--- "Philippe C.D. Robert" <philippe.robert@gmx.net> schrieb:
> Hi,
>
[...]
> Operator overloading is not supported by ObjC, although it would be
> very helpful in some situations, e.g. when writing complex maths
> code. Instead of fiddling with GCC internals I would rather use the C
> preprocessor, though (even if this is far from elegant...).
>
Can you give an example of using the C preprocessor to achieve infix
operator overloading?
Best regards,
Marko
+-------------------------------------------------------------+
| Marko Riedel, EDV Neue Arbeit gGmbH, markoriedelde@yahoo.de |
| http://www.geocities.com/markoriedelde/index.html |
+-------------------------------------------------------------+
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de