Subject: Re: [boost] [functional] adding overload
From: Lorenzo Caminiti (lorcaminiti_at_[hidden])
Date: 2012-01-16 09:05:43
On Sun, Jan 15, 2012 at 7:30 PM, Mostafa <mostafa_working_away_at_[hidden]> wrote:
> On Sun, 15 Jan 2012 13:53:24 -0800, Lorenzo Caminiti <lorcaminiti_at_[hidden]>
>> Hello all,
>> During Boost.Local review, it was proposed to move the overload
>> template out of Local and in Boost.Functional. What would the best
>> name for it?
>> 1) boost::overload_function (my preference)
>> 2) boost::overloaded_function
>> 3) boost::function_overload
>> 4) boost::functional::overload (Boost.Functional seems to use boost::
>> directly and not boost::functional-- to mimic C++11 <functional>).
> What about boost::multi_function?
IMO, overload (somewhere) is a good name because it expresses the fact
that the resulting functor overloads all the specified functors.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk