Boost logo

Boost :

Subject: Re: [boost] [function] should it require rtti?
From: Doug Gregor (doug.gregor_at_[hidden])
Date: 2009-07-23 14:23:21


On Thu, Jul 23, 2009 at 10:12 AM, Emil
Dotchevski<emil_at_[hidden]> wrote:
> Line 223 in function_base.hpp uses typeid. Can this be avoided? If
> not, perhaps it can be refactored to use the workaround found in
> sp_typeinfo.hpp?

Function needs to work when RTTI is not available. It's acceptable for
some functionality to be missing (contains/target/target_type) or to
implement the same functionality in a different way.

  - Doug


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk