[C++-SIG] CXX3 adding methods to new types, issue 1

Paul F. Dubois dubois1 at llnl.gov
Wed Jul 21 18:24:39 CEST 1999


----- Original Message -----
From: Marc POINOT <poinot at onera.fr>
To: Paul F. Dubois <dubois1 at llnl.gov>; <c++-sig at python.org>
Sent: Wednesday, July 21, 1999 8:55 AM
Subject: [C++-SIG] CXX3 adding methods to new types


>
> Now I can have my extended-types using
> other extended types. I found the
> magical ptr() function taht gives me
> the expected object pointer (is this right ?).
>
This works because it causes the proxy-cast I talked about. I think.
Implicit casts are a nightmare and I wouldn't have used a proxy object if
there was any other way. I even talked to Scott Meyers about what I was
doing and he said it sounded right to him but that I was off into unexplored
territory.







More information about the Cplusplus-sig mailing list