From af65856eec160d163c764faad250d93357be7c83 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Wed, 4 Oct 2017 00:04:26 +0000 Subject: Add C++17 explicit deduction guides to std::pair. This patch adds the newly standardized deduction guides for std::pair, allowing it to work class template deduction. llvm-svn: 314864 --- .../tuple.tuple/tuple.cnstr/implicit_deduction_guides.pass.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libcxx/test/std/utilities/tuple') diff --git a/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/implicit_deduction_guides.pass.cpp b/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/implicit_deduction_guides.pass.cpp index 7b9c061b3ae..85036b59186 100644 --- a/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/implicit_deduction_guides.pass.cpp +++ b/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/implicit_deduction_guides.pass.cpp @@ -15,10 +15,11 @@ // against libstdc++. // XFAIL: gcc -// +// -// Test that the constructors offered by std::basic_string are formulated -// so they're compatible with implicit deduction guides. +// Test that the constructors offered by std::tuple are formulated +// so they're compatible with implicit deduction guides, or if that's not +// possible that they provide explicit guides to make it work. #include #include -- cgit v1.2.3