Boost logo

Boost :

From: Andy Little (andy_at_[hidden])
Date: 2006-08-20 04:56:56


"Andy Little" <andy_at_[hidden]> wrote

> template <typename Lhs, typename Rhs>
> BOOST_TYPEOF_TPL(Lhs() * Rhs()) operator * ( Lhs lhs, Rhs rhs);

Sorry that wasnt a very good example!

template <typename Lhs, typename Rhs>
vector<BOOST_TYPEOF_TPL(Lhs() * Rhs())> operator * (vector<Lhs>const &,
vector<Rhs> const&);

might be better.

regards
Andy Little


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk