enumclass
@enumclass
EnumClass.hpp
How do you figure out which code is better when comparing two versions (same or different languages)? I’ve heard of metrics like Halstead, Cyclomatic Complexity, and Maintainability Index. What metrics do you use? Which ones really show code quality?
Hi guys, I’ve written a lock-free ring in C! Any ideas to boost performance further ? :) github.com/enum-class/eri…
* Decimal 42 or 42ll or 42u or 42UL or 42Ull, ... * Octal 052 * Hex 0x2A or 0X2A * Bin 0b101010 or 0B101010
'w' (char) ➡️ 1 byte ◻️ u8'w' (UTF-8) ➡️ 1 byte ◻️ u'x' (UTF-16) ➡️ 2 bytes ◻️◻️ U'y' (UTF-32) ➡️ 4 bytes ◻️◻️◻️◻️ L'z' (wchar_t) ➡️ varies 🤷♂️
Joy of C++ with alternative tokens! :)) int main() <% int a<::> = <%1, 2, 3%>; return 0; %>
#define R "x" const char* s = R"y"; // s is not "x""y" => ill-formed const char* s = R"(y)"; // well-defined, s is "y" Preprocessing (macro, line splicing) will not applied on raw string
United States Trends
- 1. South Carolina 31.9K posts
- 2. Bama 10.6K posts
- 3. #EubankBenn2 27.4K posts
- 4. Ty Simpson 2,341 posts
- 5. Texas A&M 31.4K posts
- 6. Mateer 2,327 posts
- 7. Oklahoma 19.2K posts
- 8. Beamer 9,138 posts
- 9. Ryan Williams 1,497 posts
- 10. Arbuckle N/A
- 11. #UFC322 24.5K posts
- 12. Camilo 8,462 posts
- 13. Heisman 9,077 posts
- 14. Daniel Hill N/A
- 15. Makai Lemon N/A
- 16. Michigan 43.5K posts
- 17. #Sooners 1,536 posts
- 18. Aggies 9,190 posts
- 19. Georgia Tech 2,097 posts
- 20. Gio Reyna N/A
Something went wrong.
Something went wrong.