Boost logo

Boost Users :

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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net