|
|
On Sun, 05 Oct 2008 16:39:42 +0200, andrel <a_l### [at] hotmailcom>
wrote:
>> ??( is an alternative token for [. Similarly for ??) and ].
>
> I don't remember that one. I seem to have dislocated my k&r and bjarne
> books and I seem not to be able to find that on the web either. Are you
> sure that that isn't just a compiler/hardware specific hack?
Yes, I am sure. They are called trigraphs and are listed in section 2.3 of
the C++ standard.
Strictly speaking, they are not actually alternative tokens. They are
substituted before any other processing of the source.
There is a set of actual alternative tokens though. They are sometimes
called digraphs. You could thus write:
out += c<:i:><:"01":>;
--
FE
Post a reply to this message
|
|