Home
last modified time | relevance | path

Searched refs:STATIC_ASSERT_SAME (Results 1 – 7 of 7) sorted by relevance

/third_party/boost/libs/iterator/test/
Dindirect_iter_member_types.cpp38 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 …]
Dpointee.cpp41 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 …]
Dstatic_assert_same.hpp11 #define STATIC_ASSERT_SAME( T1,T2 ) BOOST_MPL_ASSERT((::boost::is_same< T1, T2 >)) macro
/third_party/boost/libs/hof/test/
Dresult.cpp16 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()
Dunpack.cpp211 STATIC_ASSERT_SAME(deduce_types<int, int>, decltype(deduce(std::make_tuple(1, 2)))); in BOOST_HOF_TEST_CASE()
212STATIC_ASSERT_SAME(deduce_types<int, int>, decltype(deduce(std::make_tuple(1), std::make_tuple(2))… in BOOST_HOF_TEST_CASE()
213STATIC_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()
220STATIC_ASSERT_SAME(deduce_types<int, int>, decltype(deduce(boost::hof::pack_basic(1), boost::hof::… in BOOST_HOF_TEST_CASE()
221STATIC_ASSERT_SAME(deduce_types<int, int, int>, decltype(deduce(boost::hof::pack_basic(1), boost::… in BOOST_HOF_TEST_CASE()
Ddecay.cpp11 STATIC_ASSERT_SAME(decltype(boost::hof::decay(std::declval<T>())), std::decay<T>::type)
Dtest.hpp63 #define STATIC_ASSERT_SAME(...) static_assert(std::is_same<__VA_ARGS__>::value, "Types are not the … macro