Re: pll: who uses _Bool
- From: CBFalconer <cbfalconer@xxxxxxxxx>
- Date: Mon, 29 Oct 2007 18:23:03 -0500
Keith Thompson wrote:
.... snip ...
The question was:
Now, what is the type of true and false, when using:
$ cat /usr/lib/gcc/i486-linux-gnu/4.1.2/include/stdbool.h
[...]
#define true 1
#define false 0
I fail to see how the hypothetical usage of the # operator is
relevant to the question. The types of true, false, and INT_MAX
are all the same: int.
My point is that we don't have a typed identifier at all. We have
created another representation for the digit 1 (or for 0). Yes,
the unadorned use of such digits can generate an int type constant,
however we are not limited to such unadorned use.
The characters 'true' are simply another glyph for the digit '1'.
--
Chuck F (cbfalconer at maineline dot net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net>
--
Posted via a free Usenet account from http://www.teranews.com
.
- Follow-Ups:
- Re: pll: who uses _Bool
- From: Charlie Gordon
- Re: pll: who uses _Bool
- References:
- pll: who uses _Bool
- From: Szabolcs Nagy
- Re: pll: who uses _Bool
- From: Tor Rustad
- Re: pll: who uses _Bool
- From: CBFalconer
- Re: pll: who uses _Bool
- From: Tor Rustad
- Re: pll: who uses _Bool
- From: CBFalconer
- Re: pll: who uses _Bool
- From: Tor Rustad
- Re: pll: who uses _Bool
- From: CBFalconer
- Re: pll: who uses _Bool
- From: Keith Thompson
- Re: pll: who uses _Bool
- From: CBFalconer
- Re: pll: who uses _Bool
- From: Keith Thompson
- pll: who uses _Bool
- Prev by Date: Re: Print a short instead of an int... ? What's up with "%hd"?
- Next by Date: Re: A string collection abstract data type
- Previous by thread: Re: pll: who uses _Bool
- Next by thread: Re: pll: who uses _Bool
- Index(es):
Relevant Pages
|
Loading