Skip to content

Bump C++ standard to C++20 #20468

Open
Open

Description

@rascani

🚀 The feature, motivation and pitch

PyTorch has started rolling out C++20 (pytorch/pytorch#176662), while ExecuTorch has remained on C++17. This has started to cause reverts to pytorch for C++ code that is shared with ExecuTorch (pytorch/pytorch#179286).

We would like to consider bumping ExecuTorch's C++ standard to C++20, but first we would like to solicit feedback from users and partners on whether their toolchains support C++20.

Alternatives

No response

Additional context

No response

RFC (Optional)

No response

Activity

  1. added
    rfc
    on Jun 23, 2026
  2. self-assigned this
    on Jun 23, 2026
  3. rascani commented on Jun 23, 2026

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

Metadata

Metadata

Assignees

Labels

rfc

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions