Searched refs:STATIC_ASSERT_SAME (Results 1 – 7 of 7) sorted by relevance
/third_party/boost/libs/iterator/test/ |
D | indirect_iter_member_types.cpp | 38 STATIC_ASSERT_SAME(Iter::value_type, int); in main() 39 STATIC_ASSERT_SAME(Iter::reference, int&); in main() 40 STATIC_ASSERT_SAME(Iter::pointer, int*); in main() 41 STATIC_ASSERT_SAME(Iter::difference_type, std::ptrdiff_t); in main() 50 STATIC_ASSERT_SAME(Iter::value_type, int); in main() 51 STATIC_ASSERT_SAME(Iter::reference, const int&); in main() 52 STATIC_ASSERT_SAME(Iter::pointer, const int*); // (**) in main() 56 STATIC_ASSERT_SAME(Iter::value_type, int); in main() 57 STATIC_ASSERT_SAME(Iter::reference, int&); in main() 58 STATIC_ASSERT_SAME(Iter::pointer, int*); in main() [all …]
|
D | pointee.cpp | 41 STATIC_ASSERT_SAME(boost::pointee<proxy_ref_ptr<int> >::type, int); in main() 42 STATIC_ASSERT_SAME(boost::pointee<proxy_ref_ptr<X> >::type, X); in main() 44 STATIC_ASSERT_SAME(boost::pointee<proxy_ref_ptr<int const> >::type, int const); in main() 45 STATIC_ASSERT_SAME(boost::pointee<proxy_ref_ptr<X const> >::type, X const); in main() 47 STATIC_ASSERT_SAME(boost::pointee<proxy_value_ptr<int> >::type, int const); in main() 48 STATIC_ASSERT_SAME(boost::pointee<proxy_value_ptr<X> >::type, X const); in main() 50 STATIC_ASSERT_SAME(boost::pointee<proxy_value_ptr<int const> >::type, int const); in main() 51 STATIC_ASSERT_SAME(boost::pointee<proxy_value_ptr<X const> >::type, X const); in main() 53 STATIC_ASSERT_SAME(boost::pointee<int*>::type, int); in main() 54 STATIC_ASSERT_SAME(boost::pointee<int const*>::type, int const); in main() [all …]
|
D | static_assert_same.hpp | 11 #define STATIC_ASSERT_SAME( T1,T2 ) BOOST_MPL_ASSERT((::boost::is_same< T1, T2 >)) macro
|
/third_party/boost/libs/hof/test/ |
D | result.cpp | 16 STATIC_ASSERT_SAME(decltype(unary_int(false)), int); in BOOST_HOF_TEST_CASE() 25 STATIC_ASSERT_SAME(decltype(unary_void(false)), void); in BOOST_HOF_TEST_CASE()
|
D | unpack.cpp | 211 STATIC_ASSERT_SAME(deduce_types<int, int>, decltype(deduce(std::make_tuple(1, 2)))); in BOOST_HOF_TEST_CASE() 212 …STATIC_ASSERT_SAME(deduce_types<int, int>, decltype(deduce(std::make_tuple(1), std::make_tuple(2))… in BOOST_HOF_TEST_CASE() 213 …STATIC_ASSERT_SAME(deduce_types<int, int, int>, decltype(deduce(std::make_tuple(1), std::make_tupl… in BOOST_HOF_TEST_CASE() 214 STATIC_ASSERT_SAME(std::tuple<int&&, int&&>, decltype(std::forward_as_tuple(1, 2))); in BOOST_HOF_TEST_CASE() 219 STATIC_ASSERT_SAME(deduce_types<int, int>, decltype(deduce(boost::hof::pack_basic(1, 2)))); in BOOST_HOF_TEST_CASE() 220 …STATIC_ASSERT_SAME(deduce_types<int, int>, decltype(deduce(boost::hof::pack_basic(1), boost::hof::… in BOOST_HOF_TEST_CASE() 221 …STATIC_ASSERT_SAME(deduce_types<int, int, int>, decltype(deduce(boost::hof::pack_basic(1), boost::… in BOOST_HOF_TEST_CASE()
|
D | decay.cpp | 11 STATIC_ASSERT_SAME(decltype(boost::hof::decay(std::declval<T>())), std::decay<T>::type)
|
D | test.hpp | 63 #define STATIC_ASSERT_SAME(...) static_assert(std::is_same<__VA_ARGS__>::value, "Types are not the … macro
|