]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/type_traits/test/remove_bounds_test.cpp
2 // (C) Copyright John Maddock 2000.
3 // Use, modification and distribution are subject to the
4 // Boost Software License, Version 1.0. (See accompanying file
5 // LICENSE_1_0.txt or copy at http://www.tt.org/LICENSE_1_0.txt)
8 #include "check_type.hpp"
10 # include <type_traits>
12 # include <boost/type_traits/remove_bounds.hpp>
15 BOOST_DECL_TRANSFORM_TEST(remove_bounds_test_1
, ::tt::remove_bounds
, const, const)
16 BOOST_DECL_TRANSFORM_TEST(remove_bounds_test_2
, ::tt::remove_bounds
, volatile, volatile)
17 BOOST_DECL_TRANSFORM_TEST3(remove_bounds_test_3
, ::tt::remove_bounds
, [2])
18 BOOST_DECL_TRANSFORM_TEST0(remove_bounds_test_4
, ::tt::remove_bounds
)
19 BOOST_DECL_TRANSFORM_TEST(remove_bounds_test_5
, ::tt::remove_bounds
, const &, const&)
20 BOOST_DECL_TRANSFORM_TEST(remove_bounds_test_6
, ::tt::remove_bounds
, *, *)
21 BOOST_DECL_TRANSFORM_TEST(remove_bounds_test_7
, ::tt::remove_bounds
, *volatile, *volatile)
22 BOOST_DECL_TRANSFORM_TEST(remove_bounds_test_8
, ::tt::remove_bounds
, const [2], const)
23 BOOST_DECL_TRANSFORM_TEST(remove_bounds_test_9
, ::tt::remove_bounds
, const &, const&)
24 BOOST_DECL_TRANSFORM_TEST(remove_bounds_test_10
, ::tt::remove_bounds
, const*, const*)
25 BOOST_DECL_TRANSFORM_TEST(remove_bounds_test_11
, ::tt::remove_bounds
, volatile*, volatile*)
26 BOOST_DECL_TRANSFORM_TEST(remove_bounds_test_12
, ::tt::remove_bounds
, const[2][3], const[3])
27 BOOST_DECL_TRANSFORM_TEST(remove_bounds_test_13
, ::tt::remove_bounds
, (&)[2], (&)[2])
28 BOOST_DECL_TRANSFORM_TEST3(remove_bounds_test_14
, ::tt::remove_bounds
, [])
29 BOOST_DECL_TRANSFORM_TEST(remove_bounds_test_15
, ::tt::remove_bounds
, const [], const)
30 BOOST_DECL_TRANSFORM_TEST(remove_bounds_test_16
, ::tt::remove_bounds
, const[][3], const[3])
31 #ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
32 BOOST_DECL_TRANSFORM_TEST(remove_bounds_test_5a
, ::tt::remove_bounds
, const &&, const&&)
33 BOOST_DECL_TRANSFORM_TEST(remove_bounds_test_13a
, ::tt::remove_bounds
, (&&)[2], (&&)[2])
36 TT_TEST_BEGIN(remove_bounds
)
38 remove_bounds_test_1();
39 remove_bounds_test_2();
40 remove_bounds_test_3();
41 remove_bounds_test_4();
42 remove_bounds_test_5();
43 remove_bounds_test_6();
44 remove_bounds_test_7();
45 remove_bounds_test_8();
46 remove_bounds_test_9();
47 remove_bounds_test_10();
48 remove_bounds_test_11();
49 remove_bounds_test_12();
50 remove_bounds_test_13();
51 remove_bounds_test_14();
52 remove_bounds_test_15();
53 remove_bounds_test_16();
54 #ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
55 remove_bounds_test_5a();
56 remove_bounds_test_13a();