[PATCH] D35470: [libcxx] Implement std::to_address for C++20

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 20 11:47:18 PST 2017


EricWF added inline comments.


================
Comment at: test/std/utilities/memory/pointer.conversion/to_address.pass.cpp:119
+    ASSERT_NOEXCEPT(std::to_address(p4));
+    assert(std::to_address(p4) == &i);
+}
----------------
Shouldn't one of these tests hit a non-noexcept function?


https://reviews.llvm.org/D35470





More information about the cfe-commits mailing list