Skip to content

P0595R2 is_constant_evaluated() #156

@StephanTLavavej

Description

@StephanTLavavej

P0595R2 is_constant_evaluated()

This is a compiler feature in a library wrapper. Clang 9 supports the compiler builtin; MSVC's compiler front-end C1XX has implemented it for VS 2019 16.5 Preview 2.

Thanks to @NathanSWard for bringing this paper to my attention (we had Microsoft-internal spreadsheets for the compiler and library, and I converted the library spreadsheet to GitHub issues, but I forgot that I had put this one in the compiler spreadsheet).

Feature-test macro as of WG21-N4842:
#define __cpp_lib_is_constant_evaluated 201811L

Metadata

Metadata

Assignees

No one assigned

    Labels

    cxx20C++20 featurefixedSomething works now, yay!high priorityImportant!

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions