This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: abs(int) missing
- To: STDC++ <libstdc++ at sources dot redhat dot com>
- Subject: Re: abs(int) missing
- From: Levente Farkas <lfarkas at mindmaker dot hu>
- Date: Thu, 17 Aug 2000 16:30:29 +0200
- Organization: Mindmaker Ltd.
- References: <399BDEA9.924810AE@mindmaker.hu> <20000817101455.A4505@rcfile.org>
- Reply-To: lfarkas at mindmaker dot hu
brent verner wrote:
>
> On 17 Aug 2000 at 14:46 (+0200), Levente Farkas wrote:
> | hi,
> | it seems to me that abs(int) is missing from std namespace!!!
>
> yes, it is. I'm currently _trying_ to sort out the c header madness,
> but that work is going rather slow :\
Im willing to help it you give me some hints.
> | int i = std::abs(4);
>
> | any tipp ?
>
> if this code _must work_ today, just remove the std:: from abs(int).
I suppose you know not this code have to work:-)
-- Levente
"The only thing worse than not knowing the truth is
ruining the bliss of ignorance."