From -6382712049395695064
X-Google-Thread: f78e5,59c47fe3b9dfca8e
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII-7-bit
Return-Path: <devnull@stump.algebra.com>
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
Path: g2news1.google.com!news3.google.com!newsfeed.stanford.edu!comp-std-cpp-robomod!not-for-mail
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
Delivered-To: std-c++@ucar.edu
From: "msalters" <Michiel.Salters@logicacmg.com>
Newsgroups: comp.std.c++
Subject: Re: UCNs in phase 1
Organization: http://groups.google.com
Message-ID: <1106313530.204408.11090@z14g2000cwz.googlegroups.com>
References: <1106212184.380589.161860@z14g2000cwz.googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1106316070 9485 127.0.0.1 (21 Jan 2005 14:01:10 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 21 Jan 2005 14:01:10 +0000 (UTC)
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: z14g2000cwz.googlegroups.com; posting-host=212.123.206.71;
   posting-account=G8Vn6AwAAAAe3s4qFj7nFOuhEuzTNEir
X-Virus-Scanned: by amavisd-new at cs.mu.OZ.AU
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
X-Virus-Scanned: by amavisd-new at cs.mu.OZ.AU
Date: Fri, 21 Jan 2005 11:23:40 CST
Xref: g2news1.google.com comp.std.c++:3922


neil@daikokuya.co.uk wrote:
> In view of lex.phases paragraph 1, given a translation unit
>
> #define str(x) #x
> char array[] = str($);
>
> what characters should array[] contain?

$ isn't in the set of supported characters, so anything would be legal.
(2.2/1 The basic source character set ). An error would be legal as
well,
in fact I think a diagnostic is required.

Regards,
Michiel Salters

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]



