File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 4271
4271
string operator "" _i18n(const char*, std::size_t); // OK
4272
4272
template <char...> double operator "" _\u 03C0(); // OK: UCN for lowercase pi
4273
4273
float operator "" _e(const char*); // OK
4274
- float operator "" E(const char*); // error: reserved literal suffix~(\ref {usrlit.suffix }, \ref {lex.ext })
4275
- double operator""_Bq(long double); // OK: does not use the reserved identifier \tcode {_Bq}\iref {lex.name }
4276
- double operator"" _Bq(long double); // uses the reserved identifier \tcode {_Bq}\iref {lex.name }
4274
+ float operator "" E(const char*); // ill-formed, no diagnostic required:
4275
+ // reserved literal suffix~(\ref {usrlit.suffix }, \ref {lex.ext })
4276
+ double operator""_Bq(long double); // OK: does not use the reserved \grammarterm {identifier} \tcode {_Bq}\iref {lex.name }
4277
+ double operator"" _Bq(long double); // ill-formed, no diagnostic required:
4278
+ // uses the reserved \grammarterm {identifier} \tcode {_Bq}\iref {lex.name }
4277
4279
float operator " " B(const char*); // error: non-empty \grammarterm {string-literal}
4278
4280
string operator "" 5X(const char*, std::size_t); // error: invalid literal suffix identifier
4279
4281
double operator "" _miles(double); // error: invalid \grammarterm {parameter-declaration-clause}
You can’t perform that action at this time.
0 commit comments