[OT] Re: Does C++ suffer....
From: Goran Sliskovic (gsliskov_at_yahoo.com)
Date: 11/26/03
- Next message: Daniel Parker: "Re: Refactoring a Swing GUI"
- Previous message: EventHelix.com: "Re: Design Pattern reverse-engineering tools"
- In reply to: Roy Smith: "Re: Does C++ suffer...."
- Next in thread: Phlip: "[OT] Re: Does C++ suffer...."
- Reply: Phlip: "[OT] Re: Does C++ suffer...."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 26 Nov 2003 14:15:09 +0100
"Roy Smith" <roy@panix.com> wrote in message
news:roy-9CCA85.18410825112003@reader2.panix.com...
> In article <87smkcavb3.fsf@morpheus.aub.dk>, Jacob Atzen <jacob@aub.dk>
> wrote:
>
> > Steve Haigh <steve_a_haigh@hotmail.com> writes:
...
> > How does one shoot oneself in the foot with a rope? ;-)
>
>
> foot.shoot (reinterpret_cast<gun> (rope))
I would do it a bit different:
reinterpret_cast<gun&> (rope).shoot(foot);
Goran
- Next message: Daniel Parker: "Re: Refactoring a Swing GUI"
- Previous message: EventHelix.com: "Re: Design Pattern reverse-engineering tools"
- In reply to: Roy Smith: "Re: Does C++ suffer...."
- Next in thread: Phlip: "[OT] Re: Does C++ suffer...."
- Reply: Phlip: "[OT] Re: Does C++ suffer...."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]