Is the `*` (asterisk) keyword in C11?

In section 6.4.1 of the C11 standard, an asterisk appears in the keyword list:

keyword: one of auto βˆ— if unsigned break inline void ... 

Does this mean * is a keyword?

If not, what does using it indicate here?

+6
source share
1 answer

This is a sign of distinction.

In the abstract (p. 1) N1570 :

Changes in the previous draft (N1539) are indicated by the β€œdifference” symbols on the right margin: the deleted text is marked with the symbol '' *, new or changed text with ''.

In project N1539, alignof was a keyword appearing in the first row of this table:

The N1750 dropped alignof and replaced it with _Alignof .

Placing "*" looks a bit odd, but it definitely doesn't apply to the * operator.

+8
source

All Articles