Boost logo

Boost :

From: Jody Hagins (jody-boost-011304_at_[hidden])
Date: 2004-04-30 07:43:10


On Thu, 29 Apr 2004 17:45:52 -0400
John Phillips <phillips_at_[hidden]> wrote:

> Unimplemented C++ feature
> big_integer.hpp line 153
>
> The portion in question is
>
> template<class T>
> friend bool operator<(T lhs, const expression<Base>& rhs)
> { return rhs > lhs; }
>
> which doesn't strike me as all that odd, but maybe I'm missing
> something.
> I'll try to look at it more, later and see if I can fix the
> problem.

Maybe something as simple as moving the definition...

template<class T>
     friend bool operator<(T lhs, const expression<Base>& rhs);

...

template<class T>
bool operator<(T lhs, const expression<Base>& rhs)
{
  return rhs > lhs;
}


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