6,917 views
The nearest conference is C++ Russia 2025, March 20-21, Moscow + online. Details and tickets: https://jrg.su/9Sszhd — — Download the presentation from the C++ Russia website — https://jrg.su/hTYhJl The speaker told and showed how to create some perfectly working C++ solutions "on the edge of a foul": — getting a stack trace from any exception without changing the code of third-party libraries; — replacing part of the exception mechanism on the fly to improve their performance; — code with function execution at 0x42 to do interesting things at compile-time; — getting structure field names at the compile stage without macros and code generation. Please, do not repeat this in production without consulting with your colleagues!