C++ use of bool
Tony van der Hoff
OSLib at mk-net.demon.co.uk
Fri May 5 10:07:39 BST 2000
On Thu, 4 May 2000, at 17:50:51, David Bryan <D.J.Bryan at cranfield.ac.uk>
wrote on the subject "C++ use of bool":
>
>This could be used to tell if |bool| is a keyword. Although, I
>wouldn't be surprised if every version of g++ ever produced has
>|bool| as a keyword.
>
So,
#if defined |__GNUC__|
#define BOOL_DEFINED
#endif
would do the job, then?
>> I can't find any public domain access to the standard, so does anyone
>> out there have access to it? If so, does it define a version macro? Does
>> G++?
>
>C++ is Working Group 21. See
>
> http://anubis.dkuug.dk/JTC1/SC22/
>
I searched all around there, but never found it; I must have almost
tripped over it :-(
>The last freely available document was the FCD N2356 at
>
> http://anubis.dkuug.dk/jtc1/sc22/open/n2356/
>
>This is all separate HTML files. You can get it all bundled up
>together at
>
> ftp://ftp.maths.warwick.ac.uk/pub/c++/std/cd2/
>
Great, got it, thanks.
>
>The documentation for GCC is online at
>
> http://gcc.gnu.org/onlinedocs/
>
Found it, thanks again.
Now could you point me at the RISC OS port of G++, please :-)
>Hope this helps.
>
Very much. Your help has been invaluable, David.
--
Tony van der Hoff | Mailto:tony at mk-net.demon.co.uk
| Mailto:avanderhoff at iee.org
Buckinghamshire, England | http:www.mk-net.demon.co.uk
More information about the oslib-user
mailing list