[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:
@@ -14,6 +14,8 @@
|
||||
// template <class... UTypes>
|
||||
// explicit tuple(UTypes&&... u);
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
/*
|
||||
This is testing an extension whereby only Types having an explicit conversion
|
||||
from UTypes are bound by the explicit tuple constructor.
|
||||
|
@@ -14,6 +14,8 @@
|
||||
// template <class... UTypes>
|
||||
// explicit tuple(UTypes&&... u);
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
#include <cassert>
|
||||
#include <type_traits>
|
||||
|
@@ -14,6 +14,8 @@
|
||||
// template <class Alloc>
|
||||
// tuple(allocator_arg_t, const Alloc& a);
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
#include <cassert>
|
||||
|
||||
|
@@ -14,6 +14,8 @@
|
||||
// template <class Alloc, class... UTypes>
|
||||
// tuple(allocator_arg_t, const Alloc& a, UTypes&&...);
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
#include <cassert>
|
||||
|
||||
|
@@ -14,6 +14,8 @@
|
||||
// template <class Alloc>
|
||||
// tuple(allocator_arg_t, const Alloc& a, const Types&...);
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
#include <cassert>
|
||||
|
||||
|
@@ -14,6 +14,8 @@
|
||||
// template <class Alloc, class U1, class U2>
|
||||
// tuple(allocator_arg_t, const Alloc& a, const pair<U1, U2>&);
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
#include <utility>
|
||||
#include <cassert>
|
||||
|
@@ -14,6 +14,8 @@
|
||||
// template <class Alloc, class... UTypes>
|
||||
// tuple(allocator_arg_t, const Alloc& a, const tuple<UTypes...>&);
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
#include <cassert>
|
||||
|
||||
|
@@ -14,6 +14,8 @@
|
||||
// template <class Alloc, class... UTypes>
|
||||
// tuple(allocator_arg_t, const Alloc& a, tuple<UTypes...>&&);
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
@@ -14,6 +14,8 @@
|
||||
// template <class Alloc>
|
||||
// tuple(allocator_arg_t, const Alloc& a, const tuple&);
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
#include <cassert>
|
||||
|
||||
|
@@ -14,6 +14,8 @@
|
||||
// template <class Alloc>
|
||||
// tuple(allocator_arg_t, const Alloc& a, tuple&&);
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
#include <cassert>
|
||||
|
||||
|
@@ -14,6 +14,8 @@
|
||||
// template <class Alloc, class U1, class U2>
|
||||
// tuple(allocator_arg_t, const Alloc& a, pair<U1, U2>&&);
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
#include <utility>
|
||||
#include <memory>
|
||||
|
@@ -13,6 +13,8 @@
|
||||
|
||||
// explicit tuple(const T&...);
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
#include <string>
|
||||
#include <cassert>
|
||||
|
@@ -13,6 +13,8 @@
|
||||
|
||||
// explicit tuple(const T&...);
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
#include <string>
|
||||
#include <cassert>
|
||||
|
@@ -13,6 +13,8 @@
|
||||
|
||||
// explicit tuple(const T&...);
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
#include <string>
|
||||
#include <cassert>
|
||||
|
@@ -13,6 +13,8 @@
|
||||
|
||||
// template <class U1, class U2> tuple(const pair<U1, U2>& u);
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
#include <utility>
|
||||
#include <cassert>
|
||||
|
@@ -13,6 +13,8 @@
|
||||
|
||||
// template <class... UTypes> tuple(const tuple<UTypes...>& u);
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
#include <utility>
|
||||
#include <string>
|
||||
|
@@ -13,6 +13,8 @@
|
||||
|
||||
// template <class... UTypes> tuple(tuple<UTypes...>&& u);
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
@@ -13,6 +13,8 @@
|
||||
|
||||
// tuple(const tuple& u) = default;
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
#include <cassert>
|
||||
|
||||
|
@@ -13,6 +13,8 @@
|
||||
|
||||
// tuple(const tuple& u) = default;
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
#include <string>
|
||||
#include <cassert>
|
||||
|
@@ -13,6 +13,8 @@
|
||||
|
||||
// constexpr tuple();
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
#include <string>
|
||||
#include <cassert>
|
||||
|
@@ -13,6 +13,8 @@
|
||||
|
||||
// tuple(tuple&& u);
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
#include <utility>
|
||||
#include <cassert>
|
||||
|
@@ -13,6 +13,8 @@
|
||||
|
||||
// template <class U1, class U2> tuple(pair<U1, U2>&& u);
|
||||
|
||||
// UNSUPPORTED: c++98, c++03
|
||||
|
||||
#include <tuple>
|
||||
#include <utility>
|
||||
#include <memory>
|
||||
|
Reference in New Issue
Block a user