Is cast operator unary or binary? How many operands?
- From: JoseMariaSola <JoseMariaSola@xxxxxxxxx>
- Date: Tue, 29 Apr 2008 05:45:54 -0700 (PDT)
How may operators and operands does (typename) expression has?
I'd say one operator, the cast operator, and two operands: typename
and expression.
But everywhere I read, cast is categorized as an unary operator. Why
is that? Is it just a syntax cotegory?
Thanks.
José María.
.
- Follow-Ups:
- Re: Is cast operator unary or binary? How many operands?
- From: jacob navia
- Re: Is cast operator unary or binary? How many operands?
- From: vippstar
- Re: Is cast operator unary or binary? How many operands?
- Prev by Date: taking a "word" as input
- Next by Date: Re: Is cast operator unary or binary? How many operands?
- Previous by thread: taking a "word" as input
- Next by thread: Re: Is cast operator unary or binary? How many operands?
- Index(es):