C++ meta-programming

Open-source C++ projects categorized as meta-programming

Top 3 C++ meta-programming Projects

meta-programming
  1. reflect

    C++20 Static Reflection library (by qlibs)

    Project mention: Callbacks in C++ Using Template Functors – Rich Hickey (1994) | news.ycombinator.com | 2025-10-06

    The actual feature comes in C++26 (static reflection) but there are polyfills that allow to do it today (boost.pfr, https://github.com/qlibs/reflect) ; concepts are also a great help: https://cnrs.hal.science/hal-04090584/file/icmc2022template....

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. mp

    C++20 Meta-Programming library

  4. mlib

    mlib is a fast, simple c++ meta-programming library that uses c++20. (by robertshepherdcpp)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ meta-programming discussion

Log in or Post with

C++ meta-programming related posts

  • C++20 – Back to the Future Meta-Programming

    2 projects | news.ycombinator.com | 15 Jul 2024
  • How to filter tuple at compile time, by values of its elements (instead of types) ?

    2 projects | /r/cpp | 8 Sep 2022

Index

What are some of the best open-source meta-programming projects in C++? This list will help you:

# Project Stars
1 reflect 515
2 mp 314
3 mlib 47

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that C++ is
the 7th most popular programming language
based on number of references?