Mark non-captured constexpr variable as static
Summary: GCC & Clang allow the use of a non-captured constexpr local within a lambda, MSVC does not. All 3 compilers allow this when the local has static storage. Reviewed By: yfeldblum Differential Revision: D4675147 fbshipit-source-id: 3e07eb77731cbd3ebda6aee4b0b57ac19ac34de5
Showing
Please register or sign in to comment