$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Eric Niebler (eric_at_[hidden])
Date: 2007-03-26 12:53:32
Tobias Schwinger wrote:
> Eric Niebler wrote:
>> Frankly, I think the proposed design (function object passed by
>> value, or by reference with explicitly specified template arg) is
>> ugly. It'll
>> be ugly both from the user's perspective and in the implementation.
>
> OK, but why?
Because it forces users to repeat the type of the function object. Isn't
it nicer to say for_each( seq, ref(func) ) instead of for_each< Func &
>( seq, func )?
-- Eric Niebler Boost Consulting www.boost-consulting.com