David Abrahams | 16 Jul 07:33
Favicon
Gravatar

Re: [fusion] constructing all elements of the fusion vector with the same argument


on Tue Jul 15 2008, Joel de Guzman <joel-AT-boost-consulting.com> wrote:

> Stjepan Rajko wrote:
>
>>> How about hacking on the /lazy_sequence/ idea? Thoughts?
>>>
>>
>> I *love it*.  Attached is something... similar ;-) (I used the
>> triple.cpp example as a starting point, it was pretty straightforward)
>>
>> What do you think?
>
> I Love it! I think this should be an official part of Fusion.
> There are some matters though that we should consider
> very well:
>
> 1) The concept of an infinite-sequence.
>
>    I'm not quite happy that all sequences has a finite size.

Where does that restriction come from?  You know you can always give
infinite sequences an (unreachable) end iterator.

--

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


Gmane