$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Matt S Trentini (matt_trentini_at_[hidden])
Date: 2004-09-02 09:06:49
David Abrahams wrote:
> Because it doesn't know what you will pass to it ;-)
> 
> Consider:
> 
>         struct polymorphic_function_object
>         {
>             template <class T>
>             T operator()(T x) const;
>         };
> 
> What should argument_type be in the result of
> 
>      bind(polymorphic_function_object(), _1)
> 
Ah.  It's all become clear.  :)  Makes perfect sense.
> Have you looked at the Boost lambda library?  It incorporates all the
> operators.
Unfortunately I'm stuck working with VC7.0 which, as I understand, won't 
cut the mustard for lambda...
Thanks,
Matt