Re: Is cast operator unary or binary? How many operands?
- From: richard@xxxxxxxxxxxxxxx (Richard Tobin)
- Date: 30 Apr 2008 12:36:08 GMT
In article <f6c6e3fe-d076-43be-9cb8-4d29da011908@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
JoseMariaSola <JoseMariaSola@xxxxxxxxx> wrote:
But in the case of cast the (only) operand is the expression the left,
not the type-name.
[...]
So both following expressions have one operator and one operand?
sizeof(int)
(int)x
*I* dont' consider it that way. I was just exploring the consequences
of your suggestion. I would say that they have one and two operands
respectively.
-- Richard
--
:wq
.
- References:
- Is cast operator unary or binary? How many operands?
- From: JoseMariaSola
- Re: Is cast operator unary or binary? How many operands?
- From: JoseMariaSola
- Re: Is cast operator unary or binary? How many operands?
- From: Richard Tobin
- Re: Is cast operator unary or binary? How many operands?
- From: JoseMariaSola
- Is cast operator unary or binary? How many operands?
- Prev by Date: Temporarily close stdout?
- Next by Date: Re: Temporarily close stdout?
- Previous by thread: Re: Is cast operator unary or binary? How many operands?
- Next by thread: Re: Is cast operator unary or binary? How many operands?
- Index(es):
Relevant Pages
|