P4395R0 — Reflecting Function Bodies: Expression and Statement Introspection
Siqi Yuan, Alex Yesmanchyk, Polina Vyshnevska, Lucas Rey, Thomas Prideaux-Ghee, Philip Craig
SG7
There are existing automatic differentiation tools today, but in C++ they live only outside the language, and where AD has been built into a language (Swift), it is implemented as a compiler transformation rather than as a library: