Skip to content

Add support for C++20 & 2b #148

Closed
@LucHermitte

Description

@LucHermitte

In order to support C++20, cxx_standard::__STD_CXX dictionary in utils/utils.py should be fixed to contain:

...
        '-std=c++2a': 202002,
        '-std=gnu++2a': 202002,
        '-std=c++20': 202002,
        '-std=gnu++20': 202002,
        '-std=c++2b': float('inf'),
        '-std=gnu++2b': float('inf'),

But I'm not sure we should limit the list of valid values as we kind of know we have a new version every 3 years, and at most 3 (draft) versions per decade.

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