Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » [FEATURE REQUEST] Can we support C++11 highlight?
[FEATURE REQUEST] Can we support C++11 highlight? [message #40203] |
Wed, 03 July 2013 00:16  |
 |
Klugier
Messages: 1099 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello,
Nowadays more and more compilers fully support c++11 such as g++ and clang++. Personally, I think it is good time to add c++11 highlight support before next major upp release.
I have enclosed feature code (CodeEditor/Highlight.cpp - Line 250):
static const char *cpp[] = {
"namespace", "__asm", "else", "struct",
"enum", "switch", "auto", "__except", "template",
"explicit", "this",
"bool", "extern", "mutable", "thread",
"break", "false", "throw",
"case", "__fastcall", "true",
"catch", "__finally", "new", "try",
"__cdecl", "float", "__try",
"char", "for", "operator", "typedef",
"class", "friend", "private", "typeid",
"const", "goto", "protected", "typename",
"const_cast", "if", "public", "union",
"continue", "inline", "register", "unsigned",
"__declspec", "__inline", "reinterpret_cast", "using",
"using", "default", "int", "return",
"delete", "__int8", "short", "__uuidof",
"dllexport", "__int16", "signed", "virtual",
"dllimport", "__int32", "sizeof", "void",
"do", "__int64", "static", "volatile",
"double", "__leave", "static_cast",
"dynamic_cast", "long", "__stdcall", "while",
"force_inline",
// C++11
"char16_t", "char32_t", "constexpr", "decltype",
"noexcept", "nullptr", "static_assert",
"override", "final",
NULL
};
-----------------------------
More information about c++11 keywords you can find on cppreference.com.
Sincerely,
Klugier
U++ - one framework to rule them all.
[Updated on: Tue, 20 August 2013 14:53] Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Tue May 13 08:16:16 CEST 2025
Total time taken to generate the page: 0.04071 seconds
|