Skip to content

[D's Contract Programming vs C++'s] update for C++ #4442

@SamB

Description

@SamB

Well, they added "contracts" to C++26 (and did not remove it before the freeze), though it's not super clear how to use it, and apparently only GCC even claims to implement it. https://en.cppreference.com/cpp/language/contracts seems to have an overview.

It would be good to add it to the comparison, though given the amount of implementation-defined behavior it might be best to wait until there is at least a second implementation first...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions