The section array.zero says: "The return value of data() is unspecified". This patch marks all checks of the array<T, 0>.data() return value as libc++ specific.
Diff Detail
Diff Detail
- Repository
- rCXX libc++
Differential D55364
[libcxx] Portability fix: make return value of array<T, 0>.data() checked only for libc++. amakc11 on Dec 6 2018, 5:01 AM. Authored by
Details The section array.zero says: "The return value of data() is unspecified". This patch marks all checks of the array<T, 0>.data() return value as libc++ specific.
Diff Detail
|