$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (dave_at_[hidden])
Date: 2008-09-02 14:27:03
on Tue Sep 02 2008, "Giovanni Piero Deretta" <gpderetta-AT-gmail.com> wrote:
>> You're missing my point. Are you indeed making such stacks? If so,
>> what are you doing with them?
>
> The deepest stack I have in my application is 4 adapters deep. The
> reasons I do not have deeper stack are:
>
> 1) compile time cost
> 2) lack of auto and decltype for easy factorization (need to 'reify'
> the ranges at function boundaries)
> 3) lack of time to make additional lazy wrappers for standard algorithm.
>
> I expect that with a C++0x compiler 1 [*] and 2 won't be a problem,
> while RangeEx should take care of 3.
>
> The usage is in a real world text processing heavy application.
Great, but what are you doing with these stacks? Normally, the answer
would be something like "I'm applying the X algorithm to a range of
elements that represent Y but have been adapted to look like Z"
-- Dave Abrahams BoostPro Computing http://www.boostpro.com