The Secret to C++ Reflection Now: CMake Code Generation - Bret Brown - C++Now 2026 @CppNow
The Secret to C++ Reflection Now: CMake Code Generation - Bret Brown - C++Now 2026  @CppNow
Uploaded October 2026 | Updated December 2026, 3 hours ago
https://www.cppnow.org​
---

The Secret to C++ Reflection Now: CMake Code Generation - Bret Brown - C++Now 2026
---

There is growing excitement around Reflection in C++26 and the promise of language-integrated code generation. While these features will be valuable, it often takes nearly a decade for new C++ standards to see widespread, production-grade adoption. But what can we do now? Many of us need robust solutions between now and 2036.
That is why C and C++ projects already rely heavily on code generation today. At Bloomberg, we routinely integrate code generation into C++ systems for use cases such as feature flag APIs, schema-driven transport layers, cross-language interop layers, and embedding data directly into applications.

These systems are large, long-lived, and built using existing tools — most notably CMake.

This talk focuses on how to integrate code generation cleanly and maintainably into a C++ project using CMake. We will look at patterns for treating code generators as first-class build dependencies, managing generated source code, integrating into packaging systems, supporting a great developer experience, and avoiding common pitfalls that lead to fragile build systems.

This talk covers principles for how generators, build systems, and code consumption need to cooperate. An open source reference project will also be shared to demonstrate these ideas concretely. Attendees will leave with tools, examples, and ideas they can adapt to their own projects today.
---

Slides: github.com/boostcon/cppnow_presentations_2026/blob/main/Presentations/Until_Reflection.pdf

think-cell develops one of the world’s leading PowerPoint applications, with C++ at the core of everything we build, from layout algorithms to deep integration with Microsoft Office. Interested in working on challenging C++ problems with real-world impact? Explore our open roles: think-cell.com/en/career/tech
---

Bret Brown

Bret likes making authoring and maintaining C++ codebases simpler and more intuitive by treating projects more like cattle and less like pets. He is especially interested in the software development lifecycle, development automation, modern build systems, packaging, code transformation, software governance, and code analysis.

Bret is currently an engineer in Bloomberg's developer experience department. He has worked in embedded C++ and safety critical C++ for previous employers.
---

C++Now is an annual onsite international C++ programming and coding conference held in Aspen, Colarado. For all C++ developers, C++ software engineers and those involved with the C++ language, CppNow provides an indepth and technical content provided by the best and brightest C++ experts of the C++ world.
Annual CppNow Conference - cppnow.org
linkedin.com/company/cppnow​
twitter.com/cppnow
facebook.com/CppNow
reddit.com/r/CppNow
https://mastodon.social/@cppnow
Video Sponsors: Bloomberg
---

Videos Filmed & Edited By Bash Films: bashfilms.com
YouTube Channel Managed & Optimized By Digital Medium Ltd: events.digital-medium.co.uk
---

#boost #cpp #cplusplus #programming #coding #softwareengineering #softwaredeveloper #code #cplusplusprogramming #cplusplustutorial #cplus #softwaredevelopment #coder #talk
The Secret to C++ Reflection Now: CMake Code Generation - Bret Brown - C++Now 2026How To Make Formal Methods A Software Quality Solution That Can Actually Be Used In The IndustryLightning Talk: Reflection - The Monad - Ben Deane - C++Now 2026Coinductive Types in C++ Senders - Building Streams out of Hot Air - Steve Downey - C++Now 2025Streamlining C++ Code - Avoiding Unnecessary C++ Object Creation - C++Now 2025Lightning Talk: The Unanticipated Allocator - Jeff Trull - C++Now 2026Lightning Talk: Generative C++ - Alon Wolf - C++Now 2026Lightning Talk: Ship Comms - How do They Work? - Matt Kulukundis - C++Now 2025Are We There Yet? - The Future of C++ Software Development - Sean Parent - C++Now 2025C++ Memory Safety in WebKit - Geoffrey Garen - C++Now 2025Missing (and Future?) C++ Range Concepts - Jonathan Müller - C++Now 2025Testing Everything in Constexpr - Braden Ganetsky - C++Now 2026
CppNow |

The Secret to C++ Reflection Now: CMake Code Generation - Bret Brown - C++Now 2026

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER