Skip to content

[C++] C++20: add/use concepts #48590

Open

Description

@pitrou

Describe the enhancement requested

We should investigate the use of C++20 concepts to ease writing type-specific Arrow code that is currently relying on SFINAE or other tricks.

Component(s)

C++

Activity

  1. goldigd05 commented on Jan 4, 2026

    @goldigd05

    Hi, I would like to explore using C++20 concepts in Arrow C++.

    Currently, many template functions rely on SFINAE or type traits to enforce type constraints,
    which can be complex and hard to maintain. I propose prototyping a few functions with
    C++20 concepts to simplify type-specific code, improve readability, and provide clearer
    compiler diagnostics.

    I am happy to submit a small prototype PR for review.

  2. pitrou commented on Jan 12, 2026

    @pitrou
    MemberAuthor

    @goldigd05 Hey, yes, you start with a prototype PR to make sure we're on the same line. Looking forward to review your contribution!

  3. abhishek593 commented on Feb 17, 2026

    @abhishek593
    Contributor

    take

  4. added 2 commits that reference this issue on Mar 1, 2026
  5. added 7 commits that reference this issue on Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions