|
Boost : |
From: Douglas Gregor (dgregor_at_[hidden])
Date: 2005-01-08 10:31:54
On Jan 7, 2005, at 8:25 PM, Philippe Mori wrote:
> Finally, my compiler only giving me a warning (CodeWarrior when using
> boost::function with RTTI disabled). It might be good to add a comment
> in the code and a note in the documentation that explain why RTTI is
> used and the effect of turning it off. Also, the program seems to run
> correctly when I try it.
I'm guessing that you aren't actually using RTTI anywhere (because you
probably haven't called the type() or target() member functions of
boost::function), although you compiler complains because it will see
one "typeid" use in the code (in dead code, but it can't tell that).
Doug
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk