Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::bind and Motif
From: Richard (legalize+jeeves_at_[hidden])
Date: 2012-05-03 14:42:09


[Please do not mail me a copy of your followup]

boost-users_at_[hidden] spake the secret code
<1D97E025367AFB4A8C528590A3715BF442603A_at_archerysummit2.willamette.charteroaks> thusly:

> static void Internal_callback (XtPointer self, XtIntervalId*)
> {
> reinterpret_cast <AppTimeout*> (self)->callback();

I don't know why people always leap to reinterpret_cast<> as their
first choice; it's the most dangerous. I'd prefer static_cast<> here.

-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 version available for download
 <http://legalizeadulthood.wordpress.com/the-direct3d-graphics-pipeline/>
      Legalize Adulthood! <http://legalizeadulthood.wordpress.com>

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net