fork download
  1. typedef unsigned int codepoint;
  2.  
  3. struct Test {
  4. static constexpr codepoint difference_latin1_mapping[] = {
  5. 0x20AC, -1u, 0x201A, 0x0192, 0x201E, 0x2026, 0x2020, 0x2021,
  6. 0x02C6, 0x2030, 0x0160, 0x2039, 0x0152, -1u, 0x017D, -1u,
  7. -1u, 0x2018, 0x2019, 0x201C, 0x201D, 0x2022, 0x2013, 0x2014,
  8. 0x02DC, 0x2122, 0x0161, 0x203A, 0x0153, -1u, 0x017E, 0x0178,
  9. };
  10. };
  11.  
  12. int main (int argc, char* argv[]) {
  13.  
  14. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:4:59: error: a brace-enclosed initializer is not allowed here before '{' token
prog.cpp:9:9: error: invalid in-class initialization of static data member of non-integral type 'const codepoint []'
stdout
Standard output is empty