reflect-cpp - Now with compile time extraction of field names from structs and enums using C++-20.

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • reflect-cpp

    A C++20 library for fast serialization, deserialization and validation using reflection.

  • SDL

    Simple Directmedia Layer

  • https://github.com/libsdl-org/SDL/blob/main/include/SDL3/SDL_events.h

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • milewski-ctfp-pdf

    Bartosz Milewski's 'Category Theory for Programmers' unofficial PDF and LaTeX source

  • Category Theory for Programmers by Bartosz Milewski (https://github.com/hmemcpy/milewski-ctfp-pdf/releases)

  • static_enum

    C++ static_enum

  • Have a look at how magic_enum does it. They found a trick to cover a very wide range of enum values. I actually initially developed the trick to get the enum names via __PRETTY_FUNCTION__ (https://github.com/KonanM/static_enum) and magic enum found a way to iterate possible values more efficiently.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts