Skip to content

Details

This is the meetup for the in-person event. Please RSVP for the online meetup if you cannot attend in-person.
------

C++ reflection via C++ code generation in C++

A program inspecting its own code is called reflection. C++ has some rudimentary reflection features: you can get a function's return type, get the string name of a type, and ask questions like "does this type have a custom destructor?" or "does this class have a size() method?".

But what if you want more than what C++ provides out of the box? What about looping over the variables in a struct, or listing all of the subclasses in your code base? And how do we avoid bloating our program's binary?

In this talk, strager will show you how to extend C++'s syntax using code generation via macros, constexpr, and generating C++ source files.

——

We are meeting at the JFrog development office and will have a sign-in process on iPad as people enter which will include: Name, Company (optional), Email and Phone Number, and a community-friendly NDA.

JFrog has graciously offered to provide refreshments. Please make sure to RSVP so we can have an accurate number of attendees.

18:30 - 19:00 - Check-in, Networking, and Refreshments!

19:00 - 20:00 - Program Presentation

20:00 - 20:30 - Wrap-up and goodbyes

Please join after the meeting for socializing at a local establishment, location to be announced at the meeting.

Related topics

Events in Sunnyvale, CA
C & C++
Programming Languages
Computer Programming
Software Development
Computer Science

Sponsors

CppCon

CppCon

CppCon, the largest C++ annual conference, is a community sponsor.

Meeting C++

Meeting C++

Meeting C++, an independent platform for C++, is a community sponsor.

You may also like