Boost logo

Proto :

Subject: Re: [proto] expanding Proto's library of callables
From: Joel de Guzman (joel_at_[hidden])
Date: 2010-12-20 18:53:55


On 12/19/2010 12:21 AM, Thomas Heller wrote:
>
>
> Eric Niebler wrote:
>
>> Proto ships with a very small collection of callables for use in Proto
>> transforms: wrappers for fusion algorithms like reverse and pop_front
>> and the like. For 1.46, there will be a few more: make_pair, first,
>> second, and wrappers for a few more Fusion algorithms. It's woefully
>> incomplete, though.
>>
>> I have an idea. Phoenix3 defines *all* these juicy callables under the
>> stl/ directory. I can't #include them in Proto because that would create
>> a circular dependency. Why don't we just move the definitions of the
>> function objects into Proto and make them Proto callables? Phoenix3 can
>> just #include 'em and use 'em.
>>
>>
>>
>> Thoughts?
>
> Wonderful idea! I like it.

Good idea. Let's do it.

Regards,

-- 
Joel de Guzman
http://www.boostpro.com
http://spirit.sf.net

Proto list run by eric at boostpro.com