From Jason Turner

[lex.ext]

Diff to HTML by rtfpessoa

tmp/tmpof43mo8o/{from.md → to.md} RENAMED
@@ -11,10 +11,11 @@ user-defined-literal:
11
  ``` bnf
12
  user-defined-integer-literal:
13
  decimal-literal ud-suffix
14
  octal-literal ud-suffix
15
  hexadecimal-literal ud-suffix
 
16
  ```
17
 
18
  ``` bnf
19
  user-defined-floating-literal:
20
  fractional-constant exponent-partₒₚₜ ud-suffix
@@ -59,11 +60,11 @@ call of the form
59
  operator "" X(nULL)
60
  ```
61
 
62
  Otherwise, *S* shall contain a raw literal operator or a literal
63
  operator template ([[over.literal]]) but not both. If *S* contains a
64
- raw literal operator, the *literal* *L* is treated as a call of the form
65
 
66
  ``` cpp
67
  operator "" X("n{"})
68
  ```
69
 
@@ -124,11 +125,11 @@ literal *L* is treated as a call of the form
124
  operator "" X(ch{})
125
  ```
126
 
127
  ``` cpp
128
  long double operator "" _w(long double);
129
- std::string operator "" _w(const char16_t*, size_t);
130
  unsigned operator "" _w(const char*);
131
  int main() {
132
  1.2_w; // calls operator "" _w(1.2L)
133
  u"one"_w; // calls operator "" _w(u"one", 3)
134
  12_w; // calls operator "" _w("12")
@@ -160,10 +161,11 @@ standardization ([[usrlit.suffix]]). A program containing such a
160
  <!-- Link reference definitions -->
161
  [basic.fundamental]: basic.md#basic.fundamental
162
  [basic.link]: basic.md#basic.link
163
  [basic.lookup.unqual]: basic.md#basic.lookup.unqual
164
  [basic.stc]: basic.md#basic.stc
 
165
  [charname.allowed]: charname.md#charname.allowed
166
  [charname.disallowed]: charname.md#charname.disallowed
167
  [conv.mem]: conv.md#conv.mem
168
  [conv.ptr]: conv.md#conv.ptr
169
  [cpp]: cpp.md#cpp
@@ -202,11 +204,11 @@ standardization ([[usrlit.suffix]]). A program containing such a
202
  [tab:alternative.tokens]: #tab:alternative.tokens
203
  [tab:escape.sequences]: #tab:escape.sequences
204
  [tab:identifiers.special]: #tab:identifiers.special
205
  [tab:keywords]: #tab:keywords
206
  [tab:lex.string.concat]: #tab:lex.string.concat
207
- [tab:lex.type.integer.constant]: #tab:lex.type.integer.constant
208
  [tab:trigraph.sequences]: #tab:trigraph.sequences
209
  [temp.explicit]: temp.md#temp.explicit
210
  [temp.names]: temp.md#temp.names
211
  [usrlit.suffix]: library.md#usrlit.suffix
212
 
 
11
  ``` bnf
12
  user-defined-integer-literal:
13
  decimal-literal ud-suffix
14
  octal-literal ud-suffix
15
  hexadecimal-literal ud-suffix
16
+ binary-literal ud-suffix
17
  ```
18
 
19
  ``` bnf
20
  user-defined-floating-literal:
21
  fractional-constant exponent-partₒₚₜ ud-suffix
 
60
  operator "" X(nULL)
61
  ```
62
 
63
  Otherwise, *S* shall contain a raw literal operator or a literal
64
  operator template ([[over.literal]]) but not both. If *S* contains a
65
+ raw literal operator, the literal *L* is treated as a call of the form
66
 
67
  ``` cpp
68
  operator "" X("n{"})
69
  ```
70
 
 
125
  operator "" X(ch{})
126
  ```
127
 
128
  ``` cpp
129
  long double operator "" _w(long double);
130
+ std::string operator "" _w(const char16_t*, std::size_t);
131
  unsigned operator "" _w(const char*);
132
  int main() {
133
  1.2_w; // calls operator "" _w(1.2L)
134
  u"one"_w; // calls operator "" _w(u"one", 3)
135
  12_w; // calls operator "" _w("12")
 
161
  <!-- Link reference definitions -->
162
  [basic.fundamental]: basic.md#basic.fundamental
163
  [basic.link]: basic.md#basic.link
164
  [basic.lookup.unqual]: basic.md#basic.lookup.unqual
165
  [basic.stc]: basic.md#basic.stc
166
+ [basic.types]: basic.md#basic.types
167
  [charname.allowed]: charname.md#charname.allowed
168
  [charname.disallowed]: charname.md#charname.disallowed
169
  [conv.mem]: conv.md#conv.mem
170
  [conv.ptr]: conv.md#conv.ptr
171
  [cpp]: cpp.md#cpp
 
204
  [tab:alternative.tokens]: #tab:alternative.tokens
205
  [tab:escape.sequences]: #tab:escape.sequences
206
  [tab:identifiers.special]: #tab:identifiers.special
207
  [tab:keywords]: #tab:keywords
208
  [tab:lex.string.concat]: #tab:lex.string.concat
209
+ [tab:lex.type.integer.literal]: #tab:lex.type.integer.literal
210
  [tab:trigraph.sequences]: #tab:trigraph.sequences
211
  [temp.explicit]: temp.md#temp.explicit
212
  [temp.names]: temp.md#temp.names
213
  [usrlit.suffix]: library.md#usrlit.suffix
214