std::array's iterators aren't guaranteed to be pointers.
Include test_macros.h and mark these static_asserts as libcxx-specific.
Paths
| Differential D21874
[libcxx] [test] std::array's iterators aren't guaranteed to be pointers. ClosedPublic Authored by STL_MSFT on Jun 29 2016, 4:30 PM.
Details
Summary std::array's iterators aren't guaranteed to be pointers. Include test_macros.h and mark these static_asserts as libcxx-specific.
Diff Detail Event TimelineEricWF edited edge metadata. Comment ActionsI committed a similar change in r274210. It changes the asserts to LIBCPP_STATIC_ASSERT but it also adds additional tests that the iterators provide the correct typedefs and tags. This revision is now accepted and ready to land.Jun 29 2016, 10:01 PM
Revision Contents
Diff 62307 test/std/containers/sequences/array/types.pass.cpp
|