Fix as_const detection for libc++
Summary: [Folly] Fix as_const detection for libc++, which has the function in C++17 mode as of clang-v5 but which does not define the recommended feature-test macro `__cpp_lib_as_const`. (Note: this ignores all push blocking failures!) Reviewed By: ngoyal Differential Revision: D12812804 fbshipit-source-id: 25e01be2688346e9e434a44cf01df142129ae339
Showing
Please register or sign in to comment