Loading…
CppCon 2019 has ended
Back To Schedule
Monday, September 16 • 16:45 - 17:45
Reflections: Compile-time Introspection of Source Code

Log in to save this to your schedule, view media, leave feedback and see who's attending!

Static reflection is a forthcoming feature in the C++ programming that promises powerful new features for compile-time introspection of user source code. This feature, supported by increasingly capable constexpr facilities, will potentially be the Next Big Thing for C++23. This talk will cover the core concepts of reflection and reification and discuss several methods of providing language support for those features, including the approach taken by current Reflection TS and alternative approaches that are currently being considered. The remainder of the talk will focus on language and engineering concerns associated with static reflection. In particular, the pervasive use of constexpr functions to Reflect All the Things may cause compile times to balloon. However, I generally believe the benefits of reflection outweigh the potential costs, and if used judiciously, I think there will be only benefits.

Speakers
avatar for Andrew Sutton

Andrew Sutton

Owner, Lock3 Software, LLC
Andrew Sutton is an owner of Lock3 Software, LLC, a software research and development company in Kent, Ohio. His spends his days working on C++ language extensions in Clang and GCC and working on various WG21 language proposals.His past work included the design, specification, and... Read More →


Monday September 16, 2019 16:45 - 17:45 MDT
Aurora A