Boost logo

Boost Users :

Subject: Re: [Boost-users] [units,typeof] meta_multiply units?
From: Matthias Schabel (boost_at_[hidden])
Date: 2009-09-11 13:37:42


> Attempted to solve this with the help of boost.typeof:
>
> template<class F>
> BOOST_TYPEOF_TPL(F::ret_type() * F::arg_type())
> integrate(F& f, typename F::arg_type a, typename F::arg_type b);
>
> but MVC9 produces a
>
> error C2064: term does not evaluate to a function taking 0 arguments
>
> for the default constructor calls in the macro argument. Any ideas
> welcome.

* is the runtime operator - see my previous post for the metafunctions
you're looking for.

Matthias


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