/third_party/boost/libs/mpl/test/ |
D | vector.cpp | 36 MPL_ASSERT(( equal< v0,v0::type > )); in MPL_TEST_CASE() 37 MPL_ASSERT(( equal< v1,v1::type > )); in MPL_TEST_CASE() 38 MPL_ASSERT(( equal< v2,v2::type > )); in MPL_TEST_CASE() 39 MPL_ASSERT(( equal< v9,v9::type > )); in MPL_TEST_CASE() 46 MPL_ASSERT(( empty<v0> )); in MPL_TEST_CASE() 51 MPL_ASSERT(( is_same< front<v1>::type,char > )); in MPL_TEST_CASE() 52 MPL_ASSERT(( is_same< back<v1>::type,char > )); in MPL_TEST_CASE() 53 MPL_ASSERT(( is_same< front<v2>::type,char > )); in MPL_TEST_CASE() 54 MPL_ASSERT(( is_same< back<v2>::type,long > )); in MPL_TEST_CASE() 55 MPL_ASSERT(( is_same< front<v9>::type,char > )); in MPL_TEST_CASE() [all …]
|
D | map.cpp | 43 MPL_ASSERT(( is_same< clear<m>::type,map0<> > )); in MPL_TEST_CASE() 45 MPL_ASSERT(( is_same< at<m,int>::type,unsigned > )); in MPL_TEST_CASE() 46 MPL_ASSERT(( is_same< at<m,char>::type,void_ > )); in MPL_TEST_CASE() 47 MPL_ASSERT(( contains< m,mpl::pair<int,unsigned> > )); in MPL_TEST_CASE() 52 MPL_ASSERT(( has_key<m,int>::type )); in MPL_TEST_CASE() 55 MPL_ASSERT(( is_same< order<m,char>::type,void_ > )); in MPL_TEST_CASE() 60 MPL_ASSERT(( is_same< deref<first>::type,mpl::pair<int,unsigned> > )); in MPL_TEST_CASE() 61 MPL_ASSERT(( is_same< next<first>::type,last > )); in MPL_TEST_CASE() 67 MPL_ASSERT(( is_same< clear<m2>::type,map0<> > )); in MPL_TEST_CASE() 68 MPL_ASSERT(( is_same< at<m2,int>::type,unsigned > )); in MPL_TEST_CASE() [all …]
|
D | set.cpp | 41 MPL_ASSERT(( empty<s> )); in empty_set_test() 43 MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME clear<s>::type, set0<> > )); in empty_set_test() 44 MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME at<s,int>::type, void_ > )); in empty_set_test() 45 MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME at<s,char>::type, void_ > )); in empty_set_test() 46 MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME at<s,long>::type, void_ > )); in empty_set_test() 55 MPL_ASSERT(( is_same< o1, void_ > )); in empty_set_test() 56 MPL_ASSERT(( is_same< o2, void_ > )); in empty_set_test() 57 MPL_ASSERT(( is_same< o3, void_ > )); in empty_set_test() 62 MPL_ASSERT(( is_same<first, last> )); in empty_set_test() 73 MPL_ASSERT(( is_same< BOOST_DEDUCED_TYPENAME clear<s>::type, set0<> > )); in int_set_test() [all …]
|
D | deque.cpp | 39 MPL_ASSERT(( empty<d0> )); in MPL_TEST_CASE() 44 MPL_ASSERT(( is_same< front<d1>::type,char > )); in MPL_TEST_CASE() 45 MPL_ASSERT(( is_same< back<d1>::type,char > )); in MPL_TEST_CASE() 46 MPL_ASSERT(( is_same< front<d2>::type,char > )); in MPL_TEST_CASE() 47 MPL_ASSERT(( is_same< back<d2>::type,long > )); in MPL_TEST_CASE() 48 MPL_ASSERT(( is_same< front<d9>::type,char > )); in MPL_TEST_CASE() 49 MPL_ASSERT(( is_same< back<d9>::type,int > )); in MPL_TEST_CASE() 61 MPL_ASSERT(( is_same<deref<i1>::type,char> )); in MPL_TEST_CASE() 62 MPL_ASSERT(( is_same<deref<i2>::type,long> )); in MPL_TEST_CASE() 63 MPL_ASSERT(( is_same< i3, end<d2>::type > )); in MPL_TEST_CASE() [all …]
|
D | has_xxx.cpp | 82 MPL_ASSERT(( has_xxx_template<a5> )); in MPL_TEST_CASE() 114 MPL_ASSERT(( has_xxx_template<c1> )); in MPL_TEST_CASE() 115 MPL_ASSERT(( has_xxx_template<c2> )); in MPL_TEST_CASE() 116 MPL_ASSERT(( has_xxx_template<c3> )); in MPL_TEST_CASE() 117 MPL_ASSERT(( has_xxx_template<c4> )); in MPL_TEST_CASE() 118 MPL_ASSERT(( has_xxx_template<c5> )); in MPL_TEST_CASE() 119 MPL_ASSERT(( has_yyy<c6> )); in MPL_TEST_CASE() 120 MPL_ASSERT(( has_yyy<c7> )); in MPL_TEST_CASE() 131 MPL_ASSERT(( has_xxx<b1,true_> )); in MPL_TEST_CASE() 132 MPL_ASSERT(( has_xxx<b2,true_> )); in MPL_TEST_CASE() [all …]
|
D | comparison.cpp | 28 MPL_ASSERT(( equal_to<_10, _10> )); in MPL_TEST_CASE() 33 MPL_ASSERT(( not_equal_to<_0, _10> )); in MPL_TEST_CASE() 34 MPL_ASSERT(( not_equal_to<_10, _0> )); in MPL_TEST_CASE() 40 MPL_ASSERT(( less<_0, _10> )); in MPL_TEST_CASE() 47 MPL_ASSERT(( less_equal<_0, _10> )); in MPL_TEST_CASE() 49 MPL_ASSERT(( less_equal<_10, _10> )); in MPL_TEST_CASE() 54 MPL_ASSERT(( greater<_10, _0> )); in MPL_TEST_CASE() 62 MPL_ASSERT(( greater_equal<_10, _0> )); in MPL_TEST_CASE() 63 MPL_ASSERT(( greater_equal<_10, _10> )); in MPL_TEST_CASE()
|
D | list.cpp | 36 MPL_ASSERT(( empty<l0> )); in MPL_TEST_CASE() 41 MPL_ASSERT(( is_same<front<l1>::type,char> )); in MPL_TEST_CASE() 42 MPL_ASSERT(( is_same<front<l2>::type,char> )); in MPL_TEST_CASE() 43 MPL_ASSERT(( is_same<front<l9>::type,char> )); in MPL_TEST_CASE() 54 MPL_ASSERT(( is_same<deref<i1>::type,char> )); in MPL_TEST_CASE() 55 MPL_ASSERT(( is_same<deref<i2>::type,long> )); in MPL_TEST_CASE() 56 MPL_ASSERT(( is_same< i3, end<l2>::type > )); in MPL_TEST_CASE() 64 MPL_ASSERT(( is_same<front<l1>::type,char> )); in MPL_TEST_CASE() 67 MPL_ASSERT(( is_same<front<l2>::type,long> )); in MPL_TEST_CASE()
|
D | inherit.cpp | 22 MPL_ASSERT(( is_same<inherit<her>::type, her> )); in MPL_TEST_CASE() 25 MPL_ASSERT(( is_same<her_my1::herself, her> )); in MPL_TEST_CASE() 26 MPL_ASSERT(( is_same<her_my1::myself, my> )); in MPL_TEST_CASE() 29 MPL_ASSERT(( is_same<her1, her> )); in MPL_TEST_CASE() 32 MPL_ASSERT(( is_same<her2, her> )); in MPL_TEST_CASE() 35 MPL_ASSERT(( is_same<her_my2::herself, her> )); in MPL_TEST_CASE() 36 MPL_ASSERT(( is_same<her_my2::myself, my> )); in MPL_TEST_CASE() 39 MPL_ASSERT(( is_same<empty, empty_base> )); in MPL_TEST_CASE()
|
D | bind.cpp | 50 MPL_ASSERT(( boost::is_same<r11,int> )); in MPL_TEST_CASE() 51 MPL_ASSERT(( boost::is_same<r12,int> )); in MPL_TEST_CASE() 55 MPL_ASSERT(( boost::is_same<r51,int> )); in MPL_TEST_CASE() 56 MPL_ASSERT(( boost::is_same<r52,int> )); in MPL_TEST_CASE() 64 MPL_ASSERT(( boost::is_same<r11,int> )); in MPL_TEST_CASE() 65 MPL_ASSERT(( boost::is_same<r51,int> )); in MPL_TEST_CASE() 73 MPL_ASSERT(( boost::is_same<r51,int> )); in MPL_TEST_CASE() 74 MPL_ASSERT(( boost::is_same<r52,int> )); in MPL_TEST_CASE() 86 MPL_ASSERT(( boost::is_same<r1,int_<1> > )); in MPL_TEST_CASE() 87 MPL_ASSERT(( boost::is_same<r2,int_<0> > )); in MPL_TEST_CASE()
|
D | single_view.cpp | 27 MPL_ASSERT(( is_same< deref<first>::type, int > )); in MPL_TEST_CASE() 28 MPL_ASSERT(( is_same< next<first>::type, last > )); in MPL_TEST_CASE() 29 MPL_ASSERT(( is_same< prior<last>::type, first > )); in MPL_TEST_CASE() 31 MPL_ASSERT(( is_same< mpl::advance<first, int_<0> >::type, first > )); in MPL_TEST_CASE() 32 MPL_ASSERT(( is_same< mpl::advance<first, int_<1> >::type, last > )); in MPL_TEST_CASE() 33 MPL_ASSERT(( is_same< mpl::advance<last, int_<0> >::type, last > )); in MPL_TEST_CASE() 34 MPL_ASSERT(( is_same< mpl::advance<last, int_<-1> >::type, first > )); in MPL_TEST_CASE() 42 MPL_ASSERT(( equal< view, view::type > )); in MPL_TEST_CASE()
|
D | list_c.cpp | 28 MPL_ASSERT(( is_same< l1::value_type, bool > )); in MPL_TEST_CASE() 29 MPL_ASSERT(( is_same< l2::value_type, bool > )); in MPL_TEST_CASE() 42 MPL_ASSERT(( is_same< l1::value_type, int > )); in MPL_TEST_CASE() 43 MPL_ASSERT(( is_same< l2::value_type, int > )); in MPL_TEST_CASE() 44 MPL_ASSERT(( is_same< l3::value_type, int > )); in MPL_TEST_CASE() 59 MPL_ASSERT(( is_same< l1::value_type, unsigned > )); in MPL_TEST_CASE() 60 MPL_ASSERT(( is_same< l2::value_type, unsigned > )); in MPL_TEST_CASE() 72 MPL_ASSERT(( is_same< l2::value_type, unsigned > )); in MPL_TEST_CASE() 80 MPL_ASSERT(( is_same< i3, end<l2>::type > )); in MPL_TEST_CASE()
|
D | apply.cpp | 34 MPL_ASSERT(( is_same< plus1,plus2 > )); in MPL_TEST_CASE() 37 MPL_ASSERT(( is_same< v,std_vector<int> > )); in MPL_TEST_CASE() 41 MPL_ASSERT(( is_same< v_int,std_vector<int> > )); in MPL_TEST_CASE() 55 MPL_ASSERT(( is_same< plus_fun,plus<_1,_2> > )); in MPL_TEST_CASE() 65 MPL_ASSERT(( is_same< v,std_vector<int> > )); in MPL_TEST_CASE() 69 MPL_ASSERT(( is_same< v_int,std_vector<int> > )); in MPL_TEST_CASE() 75 MPL_ASSERT(( is_same< v,std_vector<int> > )); in MPL_TEST_CASE() 79 MPL_ASSERT(( is_same< v_int,std_vector<int> > )); in MPL_TEST_CASE() 85 MPL_ASSERT(( is_same< v,std_vector<int> > )); in MPL_TEST_CASE() 89 MPL_ASSERT(( is_same< v_int,std_vector<int> > )); in MPL_TEST_CASE() [all …]
|
D | logical.cpp | 25 MPL_ASSERT(( mpl::and_< true_,true_ > )); in MPL_TEST_CASE() 32 MPL_ASSERT(( mpl::or_< true_,true_ > )); in MPL_TEST_CASE() 33 MPL_ASSERT(( mpl::or_< false_,true_ > )); in MPL_TEST_CASE() 34 MPL_ASSERT(( mpl::or_< true_,false_ > )); in MPL_TEST_CASE() 36 MPL_ASSERT(( mpl::or_< true_,unknown > )); in MPL_TEST_CASE() 37 MPL_ASSERT(( mpl::or_< true_,unknown,unknown > )); in MPL_TEST_CASE() 40 MPL_ASSERT(( mpl::not_< false_ > )); in MPL_TEST_CASE()
|
D | integral_wrapper_test.hpp | 43 MPL_ASSERT(( borland_test_type )); } \ 44 { MPL_ASSERT(( is_same< borland_tested_type::type, WRAPPER(T,i) > )); } \ 45 { MPL_ASSERT(( is_same< next< borland_tested_type >::type, WRAPPER(T,i+1) > )); } \ 46 { MPL_ASSERT(( is_same< prior< borland_tested_type >::type, WRAPPER(T,i-1) > )); } \ 54 { MPL_ASSERT(( is_same< WRAPPER(T,i)::value_type, T > )); } \ 55 { MPL_ASSERT(( is_same< WRAPPER(T,i)::type, WRAPPER(T,i) > )); } \ 56 { MPL_ASSERT(( is_same< next< WRAPPER(T,i) >::type, WRAPPER(T,i+1) > )); } \ 57 { MPL_ASSERT(( is_same< prior< WRAPPER(T,i) >::type, WRAPPER(T,i-1) > )); } \
|
D | vector_c.cpp | 26 MPL_ASSERT(( is_same< v1::value_type, bool > )); in MPL_TEST_CASE() 27 MPL_ASSERT(( is_same< v2::value_type, bool > )); in MPL_TEST_CASE() 40 MPL_ASSERT(( is_same< v1::value_type, int > )); in MPL_TEST_CASE() 41 MPL_ASSERT(( is_same< v2::value_type, int > )); in MPL_TEST_CASE() 42 MPL_ASSERT(( is_same< v3::value_type, int > )); in MPL_TEST_CASE() 58 MPL_ASSERT(( is_same< v1::value_type, unsigned > )); in MPL_TEST_CASE() 59 MPL_ASSERT(( is_same< v2::value_type, unsigned > )); in MPL_TEST_CASE()
|
D | pair_view.cpp | 31 MPL_ASSERT(( is_same< first_::category, mpl::random_access_iterator_tag > )); in MPL_TEST_CASE() 33 MPL_ASSERT(( is_same< advance_c<first_,0>::type, first_ > )); in MPL_TEST_CASE() 34 MPL_ASSERT(( is_same< advance_c<last_,0>::type, last_ > )); in MPL_TEST_CASE() 35 MPL_ASSERT(( is_same< advance_c<first_,10>::type, last_ > )); in MPL_TEST_CASE() 36 MPL_ASSERT(( is_same< advance_c<last_,-10>::type, first_ > )); in MPL_TEST_CASE() 40 MPL_ASSERT(( is_same< in MPL_TEST_CASE()
|
D | set_c.cpp | 50 MPL_ASSERT(( is_same< s1::value_type, bool > )); in MPL_TEST_CASE() 51 MPL_ASSERT(( is_same< s3::value_type, bool > )); in MPL_TEST_CASE() 52 MPL_ASSERT(( is_same< s2::value_type, bool > )); in MPL_TEST_CASE() 60 MPL_ASSERT(( is_same< test::at_c<s1,false>::type, void_ > )); in MPL_TEST_CASE() 61 MPL_ASSERT(( is_same< test::at_c<s2,true>::type, void_ > )); in MPL_TEST_CASE() 86 MPL_ASSERT(( is_same< s1::value_type, char > )); in MPL_TEST_CASE() 87 MPL_ASSERT(( is_same< s2::value_type, char > )); in MPL_TEST_CASE() 95 MPL_ASSERT(( is_same< test::at_c<s1,'z'>::type, void_ > )); in MPL_TEST_CASE() 96 MPL_ASSERT(( is_same< test::at_c<s2,'k'>::type, void_ > )); in MPL_TEST_CASE()
|
D | lambda.cpp | 48 MPL_ASSERT(( apply_wrap1<f,long> )); in MPL_TEST_CASE() 49 MPL_ASSERT(( apply_wrap1<f,my> )); in MPL_TEST_CASE() 66 MPL_ASSERT(( apply_wrap2<f,int,int> )); in MPL_TEST_CASE() 67 MPL_ASSERT(( apply_wrap2<f,my,my> )); in MPL_TEST_CASE() 68 MPL_ASSERT(( apply_wrap2<f,signed long, unsigned long> )); in MPL_TEST_CASE() 77 MPL_ASSERT(( apply_wrap1< f,int_<3> > )); in MPL_TEST_CASE()
|
D | is_sequence.cpp | 34 MPL_ASSERT(( is_sequence< range_c<int,0,0> > )); in MPL_TEST_CASE() 35 MPL_ASSERT(( is_sequence< list<> > )); in MPL_TEST_CASE() 36 MPL_ASSERT(( is_sequence< list<int> > )); in MPL_TEST_CASE() 37 MPL_ASSERT(( is_sequence< vector<> > )); in MPL_TEST_CASE() 38 MPL_ASSERT(( is_sequence< vector<int> > )); in MPL_TEST_CASE()
|
D | push_front.cpp | 40 MPL_ASSERT(( is_same< front<res1>::type, long > )); in MPL_TEST_CASE() 41 MPL_ASSERT(( is_same< front<res2>::type, int > )); in MPL_TEST_CASE() 42 MPL_ASSERT(( is_same< front<res3>::type, char > )); in MPL_TEST_CASE() 44 MPL_ASSERT(( has_push_front< list0<> > )); in MPL_TEST_CASE() 45 MPL_ASSERT(( has_push_front< list1<long> > )); in MPL_TEST_CASE()
|
D | always.cpp | 25 MPL_ASSERT(( apply< always_true > )); in MPL_TEST_CASE() 26 MPL_ASSERT(( apply0< always_true > )); in MPL_TEST_CASE() 27 MPL_ASSERT(( apply1< always_true,false_ > )); in MPL_TEST_CASE() 28 MPL_ASSERT(( apply2< always_true,false_,false_ > )); in MPL_TEST_CASE() 29 MPL_ASSERT(( apply3< always_true,false_,false_,false_ > )); in MPL_TEST_CASE()
|
D | if.cpp | 25 MPL_ASSERT(( is_same<t1, char> )); in MPL_TEST_CASE() 26 MPL_ASSERT(( is_same<t2, char> )); in MPL_TEST_CASE() 27 MPL_ASSERT(( is_same<t3, long> )); in MPL_TEST_CASE() 28 MPL_ASSERT(( is_same<t4, long> )); in MPL_TEST_CASE()
|
D | next.cpp | 25 MPL_ASSERT(( is_same< next<_0>::type, _1 > )); in MPL_TEST_CASE() 26 MPL_ASSERT(( is_same< next<_1>::type, _2 > )); in MPL_TEST_CASE() 27 MPL_ASSERT(( is_same< prior<_1>::type, _0 > )); in MPL_TEST_CASE() 28 MPL_ASSERT(( is_same< prior<_2>::type, _1 > )); in MPL_TEST_CASE()
|
/third_party/boost/libs/mpl/test/aux_/ |
D | msvc_is_class.cpp | 38 MPL_ASSERT(( aux::msvc_is_class< UDT > )); in MPL_TEST_CASE() 39 MPL_ASSERT(( aux::msvc_is_class< incomplete > )); in MPL_TEST_CASE() 40 MPL_ASSERT(( aux::msvc_is_class< abstract > )); in MPL_TEST_CASE() 41 MPL_ASSERT(( aux::msvc_is_class< noncopyable > )); in MPL_TEST_CASE() 42 MPL_ASSERT(( aux::msvc_is_class< A<int> > )); in MPL_TEST_CASE() 43 MPL_ASSERT(( aux::msvc_is_class< A<incomplete> > )); in MPL_TEST_CASE()
|
D | largest_int.cpp | 20 MPL_ASSERT(( is_same< mpl::aux::largest_int<bool,bool>::type, bool > )); in MPL_TEST_CASE() 21 MPL_ASSERT(( is_same< mpl::aux::largest_int<bool,char>::type, char > )); in MPL_TEST_CASE() 22 MPL_ASSERT(( is_same< mpl::aux::largest_int<char,bool>::type, char > )); in MPL_TEST_CASE() 23 MPL_ASSERT(( is_same< mpl::aux::largest_int<int,unsigned>::type, unsigned > )); in MPL_TEST_CASE() 24 MPL_ASSERT(( is_same< mpl::aux::largest_int<unsigned,long>::type, long > )); in MPL_TEST_CASE()
|