Boost logo

Boost :

From: Terje Slettebø (tslettebo_at_[hidden])
Date: 2002-10-12 15:37:37


>From: "Terje Slettebø" <tslettebo_at_[hidden]>

> Test operator+(const Test &t1,const Test &t2)
> {
> return Test(t1)+=t2;
> }

Sorry, this should be:

inline Test operator+(const Test &t1,const Test &t2)
{
  return Test(t1)+=t2;
}

The result is the same, though, as it inlines it, anyway.

Regards,

Terje


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