History log of /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/apply.pass.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
aa1d62b4af6f1268900981a7f72ca4e9c293f056 09-Dec-2016 Stephan T. Lavavej <stl@exchange.microsoft.com> [libcxx] [test] Add LIBCPP_ASSERT_NOEXCEPT/LIBCPP_ASSERT_NOT_NOEXCEPT, remove an unused variable.

test/support/test_macros.h
For convenience/greppability, add macros for libcxx-specific static_asserts about noexceptness.

(Moving the definitions of ASSERT_NOEXCEPT/ASSERT_NOT_NOEXCEPT isn't technically necessary
because they're macros, but I think it's better style to define stuff before using it.)

test/std/utilities/tuple/tuple.tuple/tuple.apply/apply.pass.cpp
There was a completely unused `TrackedCallable obj;`.

apply() isn't depicted with conditional noexcept in C++17.

test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp
Now that we have LIBCPP_ASSERT_NOEXCEPT, use it.

Fixes D27622.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@289264 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/apply.pass.cpp
5839fedf289f656cc6819a775a0328b643dc7c6b 18-Jul-2016 Eric Fiselier <eric@efcs.ca> Implement C++17 tuple bits. Including apply and make_from_tuple.

This patch upgrades <tuple> to be C++17 compliant by implementing:

* tuple_size_v: This was forgotten when implementing the other _v traits.
* std::apply: This was added via LFTS v1 in p0220r1.
* std::make_from_tuple: This was added in p0209r2.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@275745 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/apply.pass.cpp