Skip to content

Should we make invoke constexpr in all modes? #4080

Description

MSVC STL (non-conformingly) makes std::invoke available in C++14 mode, and makes it constexpr since C++17 mode (#585).

Does it make sense to leave std::invoke non-constexpr in C++14 mode? IIUC only non-conforming programs that use std::invoke in C++14 mode will be affected if we make std::invoke unconditionally constexpr.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSomething can be improvedfixedSomething works now, yay!

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions