Skip to content

C++26 reflection adoption #637

Description

@lixin-wei

@liuzicheng1987 It might be too early to discuss now. but I'm curious whether you're willing to use C++26's reflection to repalce the core part of this library? like num_fields.hpp, bind_to_tuple.hpp. We can use a macro to detect C++ version and switch automatically.

Activity

  1. liuzicheng1987 commented on Mar 24, 2026

    @liuzicheng1987
    Collaborator

    @lixin-wei Absolutely, that's the plan.

  2. Altren commented on May 8, 2026

    @Altren
    Contributor

    GCC 16 got reflection support, enabled with -freflection

  3. liuzicheng1987 commented on Aug 25, 2026

    @liuzicheng1987
    Collaborator

    @lixin-wei, by the way, we have now added support for C++-26 reflection:

    #713

  4. lixin-wei commented on Aug 26, 2026

    @lixin-wei
    ContributorAuthor

    That's awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions