[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C++ fix and test
From: |
Raja R Harinath |
Subject: |
Re: C++ fix and test |
Date: |
20 Dec 2000 11:08:52 -0600 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.0.93 |
Akim Demaille <address@hidden> writes:
> >>>>> "Alexandre" == Alexandre Oliva <address@hidden> writes:
> Alexandre> Nope. That would change a lot in the results of tests, so
> Alexandre> the user would be forced to `using std' too otherwise s/he
> Alexandre> might run into differences between the tested behavior and
> Alexandre> that observed by his program.
>
> Yep, using std::exit is probably all that is needed.
>
> #include <stdlib.h>
> #if supports using
> using std::exit;
> #endif
The using part is unnecessary if you include the <*.h> header. So,
#include <stdlib.h>
should be it.
- Hari
--
Raja R Harinath ------------------------------ address@hidden
"When all else fails, read the instructions." -- Cahn's Axiom
"Our policy is, when in doubt, do the right thing." -- Roy L Ash
- Re: C++ fix and test, (continued)
- Re: C++ fix and test, Akim Demaille, 2000/12/19
- Re: C++ fix and test, Pavel Roskin, 2000/12/19
- Re: C++ fix and test, Alexandre Oliva, 2000/12/20
- Re: C++ fix and test, Akim Demaille, 2000/12/20
- Re: C++ fix and test, Alexandre Oliva, 2000/12/20
- Re: C++ fix and test, Akim Demaille, 2000/12/20
- Re: C++ fix and test, Alexandre Oliva, 2000/12/20
- Re: C++ fix and test, Akim Demaille, 2000/12/20
- Re: C++ fix and test, Alexandre Oliva, 2000/12/20
- Re: C++ fix and test, Akim Demaille, 2000/12/20
- Re: C++ fix and test,
Raja R Harinath <=
- Re: C++ fix and test, Pavel Roskin, 2000/12/20
- Re: C++ fix and test, Assar Westerlund, 2000/12/20
- Re: C++ fix and test, Alexandre Oliva, 2000/12/20
- Re: C++ fix and test, Akim Demaille, 2000/12/20
- Re: C++ fix and test, Assar Westerlund, 2000/12/20
- Re: C++ fix and test, Mo DeJong, 2000/12/20
- Re: C++ fix and test, Alexandre Oliva, 2000/12/21
- Re: C++ fix and test, Raja R Harinath, 2000/12/20
- Re: C++ fix and test, Alexandre Oliva, 2000/12/21
RE: C++ fix and test, Bernard Dautrevaux, 2000/12/21