1.7 KiB
1.7 KiB
[lex.literal.kinds]
5 Lexical conventions [lex]
5.13 Literals [lex.literal]
5.13.1 Kinds of literals [lex.literal.kinds]
There are several kinds of literals.14
literal:
integer-literal
character-literal
floating-point-literal
string-literal
boolean-literal
pointer-literal
user-defined-literal
[Note 1:
When appearing as an expression, a literal has a type and a value category ([expr.prim.literal]).
â end note]
The term âliteralâ generally designates, in this document, those tokens that are called âconstantsâ in C.