Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 97a96f4

Browse files
committed
NB CH-6 (C++14 CD) [over.literal]: Mark reserved example as such.
Mark the existing example for user-defined literals with the plain "E" suffix as reserved for clarity. Closes #181.
1 parent 67e7638 commit 97a96f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/overloading.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3219,7 +3219,7 @@
32193219
void operator "" _km(long double); // OK
32203220
string operator "" _i18n(const char*, std::size_t); // OK
32213221
template <char...> double operator "" _\u03C0(); // OK: UCN for lowercase pi
3222-
float operator ""E(const char*); // OK
3222+
float operator ""E(const char*); // OK, but reserved~(\ref{usrlit.suffix})
32233223
float operator " " B(const char*); // error: non-empty \grammarterm{string-literal}
32243224
string operator "" 5X(const char*, std::size_t); // error: invalid literal suffix identifier
32253225
double operator "" _miles(double); // error: invalid \grammarterm{parameter-declaration-clause}

0 commit comments

Comments
 (0)