Topic: Defect Report: new and delete in preprocessing-op-or-punc


Author: loewis@informatik.hu-berlin.de (Martin v. =?iso-8859-15?q?L=F6wis?=)
Date: 30 Jul 2002 14:33:31 GMT
Raw View
[ moderator's note: forwarded to C++ Committee. -sdc ]

2.4/2 specifies that there are 5 categories of tokens in phases 3 to
6. With 2.12/1, it is unclear whether 'new' is an 'identifier' or a
'preprocessing-op-or-punc'; likewise for 'delete'. This is relevant to
answer the question whether

#define delete foo

is a well-formed control-line, since that requires an identifier after
the 'define' token.

Regards,
Martin



[ 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                       ]