Title
Are new/delete identifiers or preprocessing-op-or-punc?
Status
drafting
Section
5.4 [lex.pptoken]
Submitter
Martin v. Loewis

Created on 2002-07-30.00:00:00 last changed 196 months ago

Messages

Date: 2006-04-22.00:00:00

5.4 [lex.pptoken] paragraph 2 specifies that there are 5 categories of tokens in phases 3 to 6. With 5.12 [lex.operators] paragraph 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.

(See also issue 189.)

History
Date User Action Args
2006-04-22 00:00:00adminsetstatus: open -> drafting
2002-07-30 00:00:00admincreate