Skip to content

Modernize C++ in runtime code #5306

@steven-johnson

Description

@steven-johnson

We used to constrain our runtime code to pre-C++11, since we compiled it with an older standard to avoid threadsafe-static initialization.

As of #5303, we now use -fno-threadsafe-statics instead, so we can use (at least) C++11 features in runtime code now (e.g. nullptr).

Probably better to just wait until #5282 lands and upgrade the runtime code to C++17 where it makes sense to do so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew user-visible features or improvements to existing features.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions