Skip to content

RFC: C++ 20 minimum standard version #1928

@lightsighter

Description

@lightsighter

It's been almost three years since we made the jump to C++17 being the minimum required version for Legion. Considering the C++ release cadence is every three years, it seems pertinent that we should consider whether it is time to upgrade to making C++20 be the minimum requirement for Legion programs this year. That doesn't mean we have to do it, but we'll at least start the discussion for people that have opinions. C++20 seems to have pretty good support now among all the major compilers:

https://en.cppreference.com/w/cpp/compiler_support/20.html

I can think of three immediate features that I would start to use if we make the jump:

https://en.cppreference.com/w/cpp/container/span.html
https://en.cppreference.com/w/cpp/atomic/atomic_ref.html
https://en.cppreference.com/w/cpp/memory/make_obj_using_allocator.html

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions