$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [Proto] result_of::value
From: Eric Niebler (eric_at_[hidden])
Date: 2011-01-05 19:17:52
On 1/5/2011 5:40 PM, Hossein Haeri wrote:
> Dear all,
>
> I have a piece of code in which contains:
>
> template<typename L, typename R>
> void FuncStreamCtx::operator () (tag::shift_right, const L& l, const R& r) const
> {
> evaluate_helper(l, *this);
> const typename result_of::value<R>::type f = value(r);
> }
Warning: variable 'f' is unused. :-)
That was easy.
-- Eric Niebler BoostPro Computing http://www.boostpro.com