Skip to content

Conversation

@AlisdairM
Copy link
Contributor

It may be that the notion of literal in C++ and constant in C were at one point close to a 1--1 mapping, but that it not strictly the case any more. C++ has user-defined literals, in C string-literals are distinct from constants, and C specifies enumerators as literals too.

Rather thsn clean up the footnote, or make clear that the correspondance is weak, simply strike it.

It may be that the notion of literal in C++ and constant in C
were at one point close to a 1-1 mapping, but that it not
strictly the case any more.  C++ has user-defined literals,
in C string-literals are distinct from constants, and C
specifies enumerators as literals too.

Rather thsn clean up the footnote, or make clear that the
correspondance is weak, simply strike it.
Copy link
Member

@jensmaurer jensmaurer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the times when we needed to highlight differences vs. C in the running text are long gone.

@frederick-vs-ja
Copy link
Contributor

FYI C2y has also switched to use "literal" via WG14 N3239.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants