Quoting Bradley T Hughes <[EMAIL PROTECTED]>:
> On Friday 14 November 2003 08:01, Dave and Natalie wrote:
> > I got by this by using a snippet copied from one of Ciprian
> > Popovici's posts #define min(X, Y)          \
> > ({ typeof (X) x_ = (X);    \
> >    typeof (Y) y_ = (Y);    \
> >    (x_ < y_) ? x_ : y_; })
> 
> Hmm... why use a macro?  You should be able to simply use the STL 
> std::min() function.

I don't know. :) I had this problem before with some other package I
was trying to compile, looked the error message up on Google and
found someone saying "here's a macro, put it in there". So I did.

-- 
Ciprian Popovici

-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]

Reply via email to