|
Boost : |
From: Eric Niebler (eric_at_[hidden])
Date: 2006-09-13 20:32:47
Andy Little wrote:
> "Joel de Guzman" <joel_at_[hidden]> wrote
>> Some of these elements you mentioned do have generic appeal.
>> static_value and advance_iterator looks general enough. plus, minus
>> etc, have overlaps over other "functional" libraries; fusion seems
>> not to be the right place for it.
>
> Fusion is the right place to get rid of manual type deduction. I strongly
> believe this.
>
We're talking about functional objects here, right? Like a plus() object
that uses Boost.Typeof to deduce its result type. Then I agree with Joel
that Fusion is the wrong place for that. I have a start on such a
collection of numeric functional objects here:
I decided for my work that the right place was to make it a sub-library
of boost/numeric and put it in boost/numeric/functional.hpp. I am hoping
to one day have the time to flesh this out and submit it to Boost.
-- Eric Niebler Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk