r/cpp • u/c0r3ntin • Feb 24 '26
Clang 22 Release Notes
https://releases.llvm.org/22.1.0/tools/clang/docs/ReleaseNotes.htmlLLVM 22 was released, update your toolchains!
118
Upvotes
r/cpp • u/c0r3ntin • Feb 24 '26
LLVM 22 was released, update your toolchains!
View all comments
Show parent comment
-1
u/pjmlp Feb 25 '26 edited Feb 25 '26
I would say that going forward it is rather trivial to combine templates and reflection to create RAII handle on the spot without going through defer.
Which only makes sense in language that never had RAII, or use some form of GC, and need determinism in very specific cases like OS handles.
However, maybe I am too biased in only using C++ alongside managed languages.