diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-10-04 00:04:26 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-10-04 00:04:26 +0000 |
commit | af65856eec160d163c764faad250d93357be7c83 (patch) | |
tree | a6d3fe999b905a10f2c358b6bdd3cf1e11c455bd /libcxx/test/std/utilities/tuple | |
parent | f01b3f3f8b0523df453706a95fea505a9843bced (diff) | |
download | bcm5719-llvm-af65856eec160d163c764faad250d93357be7c83.tar.gz bcm5719-llvm-af65856eec160d163c764faad250d93357be7c83.zip |
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
Diffstat (limited to 'libcxx/test/std/utilities/tuple')
-rw-r--r-- | libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/implicit_deduction_guides.pass.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
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 -// <string> +// <tuple> -// 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 <tuple> #include <memory> |