You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
levinli303
changed the title
[BUG]Methods on empty std::array not declared as constexpr
[BUG] Methods on empty std::array not declared as constexpr
Jan 27, 2023
Description
The specialization of array<_Tp, 0> is missing constexpr on its methods.
In the
<array>
header array hasit has _LIBCPP_CONSTEXPR_AFTER_CXX14
But in specialization array<_Tp, 0>
it does not have it.
Upstream libc++ https://reviews.llvm.org/D80821 fixed it as early as in clang 11. Maybe NDK has not updated the array header?
Affected versions
r25
Canary version
No response
Host OS
Linux, Mac, Windows
Host OS version
macOS 13
Affected ABIs
armeabi-v7a, arm64-v8a, x86, x86_64
Build system
CMake
Other build system
No response
minSdkVersion
21
Device API level
No response
The text was updated successfully, but these errors were encountered: