Loading…
CppCon 2021 has ended
Back To Schedule
Tuesday, October 26 • 9:00am - 10:00am
Beyond struct: Meta-programming a struct Replacement in C++20

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

Feedback form is now closed.
The humble struct. We all use it. We all bump up against its limitations, especially when trying to manipulate it at compile time.

What if I told you that C++20 has enough features that we can meta-program a struct replacement?

Want to have static, compile-time introspection?

Want to add and remove members with compile-time programming?

Want to have type deduction for members?

Want to easily convert from array of structures to structure of arrays (SOA) to optimize cache-friendly traversal?

C++20 allows us to do all these things and more!

No preprocessors, no macros, just standard C++.

Come join me as we explore the magic unleashed by C++20!

ALL TALK SESSIONS CAN BE ACCESSED FROM THE MAIN LOBBY: https://cppcon.digital-medium.co.uk/

Speakers
avatar for John Bandela

John Bandela

Software Engineer, Google
I first started programming in C++ at age 14 in 1994 when I cajoled my parents into buying me Visual C++ 1.0 for my birthday. It took a while, but as I learned the language, I decided I really liked C++. I attended the University of Florida and obtained my undergraduate degree in... Read More →


Tuesday October 26, 2021 9:00am - 10:00am MDT