Lines Matching refs:variant
72 test( variant<int>() ); in main()
73 test( variant<int>(1) ); in main()
75 test( variant<int const>() ); in main()
76 test( variant<int const>(1) ); in main()
78 test( variant<int, float>() ); in main()
79 test( variant<int, float>(1) ); in main()
80 test( variant<int, float>(3.14f) ); in main()
82 test( variant<int const, float const>() ); in main()
83 test( variant<int const, float const>(1) ); in main()
84 test( variant<int const, float const>(3.14f) ); in main()
86 test( variant<std::string>() ); in main()
87 test( variant<std::string>("test") ); in main()
89 test( variant<std::string const>() ); in main()
90 test( variant<std::string const>("test") ); in main()
92 test( variant<int, float, std::string>() ); in main()
93 test( variant<int, float, std::string>(1) ); in main()
94 test( variant<int, float, std::string>(3.14f) ); in main()
95 test( variant<int, float, std::string>("test") ); in main()
97 test( variant<int, int>() ); in main()
99 test( variant<int, int, float>() ); in main()
100 test( variant<int, int, float>(3.14f) ); in main()
102 test( variant<int, int, float, float>() ); in main()
104 test( variant<int, int, float, float, std::string>("test") ); in main()
106 test( variant<std::string, std::string, float>() ); in main()
108 test( variant<X1 const>() ); in main()
110 test( variant<X1, X2>() ); in main()
111 test( variant<X1, X2, int>() ); in main()
112 test( variant<X1, X2, X2>() ); in main()
113 test( variant<X1, X1, X2, X2>() ); in main()
116 variant<X1, X2> v; in main()
123 variant<X1, X1, X2> v; in main()
131 test( variant<D>() ); in main()
136 BOOST_TEST_TRAIT_TRUE((std::is_nothrow_copy_constructible<variant<int>>)); in main()
137 BOOST_TEST_TRAIT_TRUE((std::is_nothrow_copy_constructible<variant<int const>>)); in main()
138 BOOST_TEST_TRAIT_TRUE((std::is_nothrow_copy_constructible<variant<int, int>>)); in main()
139 BOOST_TEST_TRAIT_TRUE((std::is_nothrow_copy_constructible<variant<int, float>>)); in main()
140 … BOOST_TEST_TRAIT_TRUE((std::is_nothrow_copy_constructible<variant<int, int, float, float>>)); in main()
142 BOOST_TEST_TRAIT_FALSE((std::is_nothrow_copy_constructible<variant<X1>>)); in main()
143 BOOST_TEST_TRAIT_FALSE((std::is_nothrow_copy_constructible<variant<X1, int>>)); in main()
144 BOOST_TEST_TRAIT_FALSE((std::is_nothrow_copy_constructible<variant<X1, int, float>>)); in main()
146 BOOST_TEST_TRAIT_FALSE((std::is_nothrow_copy_constructible<variant<int, X1>>)); in main()
147 BOOST_TEST_TRAIT_FALSE((std::is_nothrow_copy_constructible<variant<int, int, X1>>)); in main()
149 BOOST_TEST_TRAIT_FALSE((std::is_nothrow_copy_constructible<variant<X1, X2>>)); in main()
150 BOOST_TEST_TRAIT_FALSE((std::is_nothrow_copy_constructible<variant<X1, X2, int, int>>)); in main()
152 BOOST_TEST_TRAIT_TRUE((std::is_copy_constructible<variant<X1, X2>>)); in main()
156 BOOST_TEST_TRAIT_FALSE((std::is_copy_constructible<variant<int, float, Y>>)); in main()