Re: Is cast operator unary or binary? How many operands?



In article <fv9r4v0248d@xxxxxxxxxxxxxxxxx>,
Chris Torek <nospam@xxxxxxxxx> wrote:

The way to view this, to make sense out of it, is that the cast
operator is inherently made up of the token sequence '(',
type-name-keyword [%], ')'.

If you take this view, it makes more sense to say "... cast operators
are inherently made up of ...", since even if (int) is an operator,
it's clearly not the same operator as (double). The C standard seems
to do this except in the index, where "cast operator, ( )" points to
the section entitled "Cast operators".

-- Richard
--
:wq
.