Alt text:
A screenshot from the linked article titled “Reflection in C++26”, showing reflection as one of the bullet points listed in the “Core Language” section
You must log in or register to comment.
Garbage collection was at some point part of the spec but was removed in 23.
https://en.cppreference.com/w/cpp/memory/gc/declare_reachable
If wasn’t full garbage collection in the spec. It was some infrastructure support in the spec that would make it easier to write garbage collectors in C++.