[libcxx] Mark most tuple tests UNSUPPORTED for c++03 and c++98.

Summary: No declaration for the type `tuple` is given in c++03 or c++98 modes. Mark all tests that use the actual `tuple` type as UNSUPPORTED.

Reviewers: jroelofs, mclow.lists, danalbert

Reviewed By: danalbert

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D5956

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@229808 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2015-02-19 02:10:42 +00:00
parent 59f573f670
commit f063052fe1
52 changed files with 103 additions and 12 deletions

View File

@@ -12,6 +12,8 @@
// template<class... Types>
// tuple<Types&&...> forward_as_tuple(Types&&... t);
// UNSUPPORTED: c++98, c++03
#include <tuple>
#include <type_traits>
#include <cassert>

View File

@@ -14,6 +14,8 @@
// template<class... Types>
// tuple<VTypes...> make_tuple(Types&&... t);
// UNSUPPORTED: c++98, c++03
#include <tuple>
#include <functional>
#include <cassert>

View File

@@ -14,6 +14,8 @@
// template<class... Types>
// tuple<Types&...> tie(Types&... t);
// UNSUPPORTED: c++98, c++03
#include <tuple>
#include <string>
#include <cassert>

View File

@@ -13,6 +13,8 @@
// template <class... Tuples> tuple<CTypes...> tuple_cat(Tuples&&... tpls);
// UNSUPPORTED: c++98, c++03
#include <tuple>
#include <utility>
#include <array>