Skip to content

[Feature]: Reflection-based type sorting #771

@mpusz

Description

@mpusz

Problem Description

Right now, template compile-time programming -> lots of template instantiations.

Proposed Solution

Use std algorithms to sort std::meta

🚀 Compiler Explorer Example (Optional)

No response

Alternatives Considered

No response

Feature Category

Performance Improvement

Example Usage

No response

Priority

Nice to have

Implementation Ideas

std::ranges::sort(std::vector<std::meta>>);

Additional Context

No response

Checklist

  • I have searched existing issues to avoid duplicates
  • I have read the project documentation
  • This feature aligns with the project's goals

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageTriage a new issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions