Boost logo

Boost :

Subject: Re: [boost] [local] Help for the Alternatives section
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-03-28 12:47:48


AMDG

On 03/28/2011 09:41 AM, lcaminiti wrote:
>
> Jeremy Maitin-Shepard-2 wrote:
>>
>> On 03/26/2011 03:19 PM, Lorenzo Caminiti wrote:
>> > Hello all,
>> >
>> > I am updating Boost.Local docs and I could use a some help in getting
>> > the Alternatives section right
>> >
>> http://svn.boost.org/svn/boost/sandbox/local/libs/local/doc/html/boost_local/Alternatives.html
>>
>> You might include compile time and run time benchmarks, information
>> about error message quality, and polymorphic capabilities.
>> Additionally, you might note that with C++0x local classes can be used
>> with templates.
>>
>
> Good suggestions. I will include all of those.
>
> How would the polymorphic (type) row read? (I don't fully understand
> this...) For example:
>
> Type Polymorphism
> ------------------
> Boost.Local: Yes but only of type of bound parameters (not for normal
> function parameters).
> Local Classes: No.
> C++0X Lambdas: Yes but only of type of bound parameters (not for normal
> function parameters).
> Boost.Lambda: No??
> Boost.Phoenix: No??
>
> Is this correct?
>

I have don't know whether it's correct, because,
I have no idea what you are talking about.

Boost.Lambda and Boost.Phoenix produce
Polymorphic Function Objects i.e.
Function objects that can be called with
different parameter types and which suppot
boost::result_of.

In Christ,
Steven Watanabe


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