Boost logo

Boost Users :

Subject: Re: [Boost-users] [STL] Is there a std::abs<>() function? (Max)
From: Max (loadcom_at_[hidden])
Date: 2008-12-22 21:06:48


hello Philip,

Thanks for your reply.

What I need is a template version of abs, not the
int abs(int) function, to make use of it genericly.

B/Rgds
Max



----- Original Message -----
From: Philip Ogunbona
To: boost-users_at_[hidden]
Subject: [Boost-users] [STL] Is there a std::abs<>() function? (Max)
Date: 2008-12-22 23:45:52

Max,

Using STL does not prevent access to abs(), fabs() and labs(). You just

need to #include .

Is that what you want?

Philip

-------------------------------------------------------------------
ÐÂÀ˿ռ䡪¡ªÓëÅóÓÑ¿ªÐÄ·ÖÏíÍøÂçÐÂÉú»î£¡(http://space.sina.com.cn/ )


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