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++
Paths
| Differential D55364
[libcxx] Portability fix: make return value of array<T, 0>.data() checked only for libc++. ClosedPublic Authored by amakc11 on Dec 6 2018, 5:01 AM.
Details Summary 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
Revision Contents
Diff 176951 test/std/containers/sequences/array/array.data/data.pass.cpp
test/std/containers/sequences/array/array.data/data_const.pass.cpp
|