Home
last modified time | relevance | path

Searched refs:equal_to (Results 1 – 25 of 442) sorted by relevance

12345678910>>...18

/third_party/boost/libs/qvm/test/
Dcmp_vv_test.cpp26 BOOST_TEST(cmp(x,y,std::equal_to<float>())); in test()
28 BOOST_TEST(!cmp(x,y,std::equal_to<float>())); in test()
41 equal_to struct
63 BOOST_TEST(cmp(a,a,equal_to())); in test2()
64 BOOST_TEST(cmp(a,b,equal_to())); in test2()
65 BOOST_TEST(cmp(b,a,equal_to())); in test2()
66 BOOST_TEST(cmp(b,b,equal_to())); in test2()
67 BOOST_TEST(cmp(c,c,equal_to())); in test2()
68 BOOST_TEST(cmp(c,d,equal_to())); in test2()
69 BOOST_TEST(cmp(d,c,equal_to())); in test2()
[all …]
Dcmp_mm_test.cpp46 equal_to struct
68 BOOST_TEST(cmp(a,a,equal_to())); in test2()
69 BOOST_TEST(cmp(a,b,equal_to())); in test2()
70 BOOST_TEST(cmp(b,a,equal_to())); in test2()
71 BOOST_TEST(cmp(b,b,equal_to())); in test2()
72 BOOST_TEST(cmp(c,c,equal_to())); in test2()
73 BOOST_TEST(cmp(c,d,equal_to())); in test2()
74 BOOST_TEST(cmp(d,c,equal_to())); in test2()
75 BOOST_TEST(cmp(d,d,equal_to())); in test2()
76 BOOST_TEST(!cmp(a,c,equal_to())); in test2()
[all …]
/third_party/boost/libs/metaparse/test/
Dstring.cpp44 using boost::mpl::equal_to; in BOOST_AUTO_TEST_CASE()
86 BOOST_MPL_ASSERT((equal_to<hello, hello>)); in BOOST_AUTO_TEST_CASE()
87 BOOST_MPL_ASSERT_NOT((equal_to<hello, empty_string>)); in BOOST_AUTO_TEST_CASE()
90 BOOST_MPL_ASSERT((equal_to<char_<'e'>, at<hello, int_<1> >::type>)); in BOOST_AUTO_TEST_CASE()
91 BOOST_MPL_ASSERT((equal_to<char_<'e'>, at_c<hello, 1>::type>)); in BOOST_AUTO_TEST_CASE()
94 BOOST_MPL_ASSERT((equal_to<int_<5>, size<hello>::type>)); in BOOST_AUTO_TEST_CASE()
100 BOOST_MPL_ASSERT((equal_to<char_<'H'>, front<hello>::type>)); in BOOST_AUTO_TEST_CASE()
104 equal_to< in BOOST_AUTO_TEST_CASE()
111 BOOST_MPL_ASSERT((equal_to<char_<'o'>, back<hello>::type>)); in BOOST_AUTO_TEST_CASE()
115 equal_to< in BOOST_AUTO_TEST_CASE()
[all …]
Done_of.cpp37 using boost::mpl::equal_to; in BOOST_METAPARSE_TEST_CASE()
44 equal_to< in BOOST_METAPARSE_TEST_CASE()
57 equal_to< in BOOST_METAPARSE_TEST_CASE()
67 equal_to< in BOOST_METAPARSE_TEST_CASE()
77 equal_to< in BOOST_METAPARSE_TEST_CASE()
99 equal_to< in BOOST_METAPARSE_TEST_CASE()
110 equal_to< in BOOST_METAPARSE_TEST_CASE()
120 equal_to< in BOOST_METAPARSE_TEST_CASE()
130 equal_to< in BOOST_METAPARSE_TEST_CASE()
145 equal_to< in BOOST_METAPARSE_TEST_CASE()
Dgrammar.cpp48 using boost::mpl::equal_to; in BOOST_METAPARSE_TEST_CASE()
54 equal_to< in BOOST_METAPARSE_TEST_CASE()
69 equal_to< in BOOST_METAPARSE_TEST_CASE()
85 equal_to< in BOOST_METAPARSE_TEST_CASE()
112 equal_to< in BOOST_METAPARSE_TEST_CASE()
127 equal_to< in BOOST_METAPARSE_TEST_CASE()
142 equal_to< in BOOST_METAPARSE_TEST_CASE()
157 equal_to< in BOOST_METAPARSE_TEST_CASE()
172 equal_to< in BOOST_METAPARSE_TEST_CASE()
187 equal_to< in BOOST_METAPARSE_TEST_CASE()
[all …]
Dsource_position.cpp44 using boost::mpl::equal_to; in BOOST_METAPARSE_TEST_CASE()
54 BOOST_MPL_ASSERT((equal_to<int11, get_line<sp>::type>)); in BOOST_METAPARSE_TEST_CASE()
57 BOOST_MPL_ASSERT((equal_to<int13, get_col<sp>::type>)); in BOOST_METAPARSE_TEST_CASE()
60 BOOST_MPL_ASSERT((equal_to<int1, get_prev_char<sp>::type>)); in BOOST_METAPARSE_TEST_CASE()
63 BOOST_MPL_ASSERT((equal_to<int1, get_line<start>::type>)); in BOOST_METAPARSE_TEST_CASE()
66 BOOST_MPL_ASSERT((equal_to<int1, get_col<start>::type>)); in BOOST_METAPARSE_TEST_CASE()
69 BOOST_MPL_ASSERT((equal_to<int2, get_col<next0>::type>)); in BOOST_METAPARSE_TEST_CASE()
72 BOOST_MPL_ASSERT((equal_to<int1, get_line<next0>::type>)); in BOOST_METAPARSE_TEST_CASE()
76 equal_to<int1, get_col<next_line<next0, char_0> >::type> in BOOST_METAPARSE_TEST_CASE()
81 equal_to<int2, get_line<next_line<start, char_0> >::type> in BOOST_METAPARSE_TEST_CASE()
[all …]
Dreturn_.cpp38 using boost::mpl::equal_to; in BOOST_METAPARSE_TEST_CASE()
42 equal_to<get_result<apply_wrap2<return_x, str_hello, start> >::type, char_x> in BOOST_METAPARSE_TEST_CASE()
47 equal_to<get_result<apply_wrap2<return_x, str_, start> >::type, char_x> in BOOST_METAPARSE_TEST_CASE()
52 BOOST_MPL_ASSERT((equal_to<int1, get_result<acc>::type>)); in BOOST_METAPARSE_TEST_CASE()
55 BOOST_MPL_ASSERT((equal_to<int2, get_remaining<acc>::type>)); in BOOST_METAPARSE_TEST_CASE()
58 BOOST_MPL_ASSERT((equal_to<int3, get_position<acc>::type>)); in BOOST_METAPARSE_TEST_CASE()
Dconcat.cpp24 using boost::mpl::equal_to; in BOOST_METAPARSE_TEST_CASE()
30 BOOST_MPL_ASSERT((equal_to<empty, concat<empty, empty>::type>)); in BOOST_METAPARSE_TEST_CASE()
33 BOOST_MPL_ASSERT((equal_to<hello, concat<empty, hello>::type>)); in BOOST_METAPARSE_TEST_CASE()
36 BOOST_MPL_ASSERT((equal_to<hello, concat<hello, empty>::type>)); in BOOST_METAPARSE_TEST_CASE()
40 equal_to< in BOOST_METAPARSE_TEST_CASE()
Done_char_test.hpp47 using boost::mpl::equal_to; in BOOST_METAPARSE_TEST_CASE()
50 BOOST_MPL_ASSERT((equal_to<get_result<parse_first_char>::type, char_h>)); in BOOST_METAPARSE_TEST_CASE()
54 equal_to< in BOOST_METAPARSE_TEST_CASE()
71 equal_to< in BOOST_METAPARSE_TEST_CASE()
83 equal_to< in BOOST_METAPARSE_TEST_CASE()
93 equal_to< in BOOST_METAPARSE_TEST_CASE()
Done_of_c.cpp27 using boost::mpl::equal_to; in BOOST_METAPARSE_TEST_CASE()
34 equal_to< in BOOST_METAPARSE_TEST_CASE()
47 equal_to< in BOOST_METAPARSE_TEST_CASE()
55 equal_to< in BOOST_METAPARSE_TEST_CASE()
63 equal_to< in BOOST_METAPARSE_TEST_CASE()
Dspace.cpp37 using boost::mpl::equal_to; in BOOST_METAPARSE_TEST_CASE()
45 equal_to< in BOOST_METAPARSE_TEST_CASE()
53 equal_to< in BOOST_METAPARSE_TEST_CASE()
61 equal_to< in BOOST_METAPARSE_TEST_CASE()
69 equal_to< in BOOST_METAPARSE_TEST_CASE()
Dint_to_digit.cpp21 using boost::mpl::equal_to; in BOOST_METAPARSE_TEST_CASE()
24 BOOST_MPL_ASSERT((equal_to<char_<'0'>, int_to_digit<int_<0> >::type>)); in BOOST_METAPARSE_TEST_CASE()
27 BOOST_MPL_ASSERT((equal_to<char_<'5'>, int_to_digit<int_<5> >::type>)); in BOOST_METAPARSE_TEST_CASE()
30 BOOST_MPL_ASSERT((equal_to<char_<'9'>, int_to_digit<int_<9> >::type>)); in BOOST_METAPARSE_TEST_CASE()
Dnext_digit.cpp18 using boost::mpl::equal_to; in BOOST_METAPARSE_TEST_CASE()
21 BOOST_MPL_ASSERT((equal_to<int_< 0>, next_digit::apply<int_<0>, int_<0> > >)); in BOOST_METAPARSE_TEST_CASE()
22 BOOST_MPL_ASSERT((equal_to<int_<10>, next_digit::apply<int_<1>, int_<0> > >)); in BOOST_METAPARSE_TEST_CASE()
23 BOOST_MPL_ASSERT((equal_to<int_<13>, next_digit::apply<int_<1>, int_<3> > >)); in BOOST_METAPARSE_TEST_CASE()
Dupdate_c.cpp22 using boost::mpl::equal_to; in BOOST_METAPARSE_TEST_CASE()
28 equal_to<string<'x','e','l','l','o'>, update_c<hello, 0, 'x'>::type> in BOOST_METAPARSE_TEST_CASE()
33 equal_to<string<'h','e','x','l','o'>, update_c<hello, 2, 'x'>::type> in BOOST_METAPARSE_TEST_CASE()
38 equal_to<string<'h','e','l','l','x'>, update_c<hello, 4, 'x'>::type> in BOOST_METAPARSE_TEST_CASE()
Dsize.cpp26 using boost::mpl::equal_to; in BOOST_METAPARSE_TEST_CASE()
30 BOOST_MPL_ASSERT((equal_to<int_<0>, size<string<> >::type>)); in BOOST_METAPARSE_TEST_CASE()
33 BOOST_MPL_ASSERT((equal_to<int_<1>, size<string<'x'> >::type>)); in BOOST_METAPARSE_TEST_CASE()
36 BOOST_MPL_ASSERT((equal_to<int_<4>, size<string<'1','2','3','4'> >::type>)); in BOOST_METAPARSE_TEST_CASE()
/third_party/boost/libs/unordered/test/unordered/
Dcompile_set.cpp24 INSTANTIATE(set)<int, boost::hash<int>, std::equal_to<int>,
26 INSTANTIATE(multiset)<int const, boost::hash<int>, std::equal_to<int>,
31 test::minimal::equal_to<test::minimal::assignable>,
35 test::minimal::equal_to<test::minimal::assignable>,
47 boost::unordered_set<int, boost::hash<int>, std::equal_to<int>, in UNORDERED_AUTO_TEST()
53 test::minimal::equal_to<test::minimal::assignable>, in UNORDERED_AUTO_TEST()
65 boost::unordered_multiset<int, boost::hash<int>, std::equal_to<int>, in UNORDERED_AUTO_TEST()
71 test::minimal::equal_to<test::minimal::assignable>, in UNORDERED_AUTO_TEST()
85 boost::unordered_set<int, boost::hash<int>, std::equal_to<int>, in UNORDERED_AUTO_TEST()
91 test::minimal::equal_to< in UNORDERED_AUTO_TEST()
[all …]
Dcompile_map.cpp24 INSTANTIATE(map)<int, int, boost::hash<int>, std::equal_to<int>,
27 std::equal_to<int>, test::minimal::allocator<int> >;
32 test::minimal::equal_to<test::minimal::assignable>,
36 test::minimal::equal_to<test::minimal::assignable>,
50 boost::unordered_map<int, int, boost::hash<int>, std::equal_to<int>, in UNORDERED_AUTO_TEST()
56 test::minimal::equal_to<test::minimal::assignable>, in UNORDERED_AUTO_TEST()
68 boost::unordered_multimap<int, int, boost::hash<int>, std::equal_to<int>, in UNORDERED_AUTO_TEST()
74 test::minimal::equal_to<test::minimal::assignable>, in UNORDERED_AUTO_TEST()
90 boost::unordered_map<int, int, boost::hash<int>, std::equal_to<int>, in UNORDERED_AUTO_TEST()
97 test::minimal::equal_to< in UNORDERED_AUTO_TEST()
[all …]
Dswap_tests.cpp142 boost::unordered_map<test::object, test::object, test::hash, test::equal_to,
145 boost::unordered_set<test::object, test::hash, test::equal_to,
147 boost::unordered_multiset<test::object, test::hash, test::equal_to,
149 boost::unordered_map<test::object, test::object, test::hash, test::equal_to,
152 test::equal_to, test::allocator2<test::object> >* test_multimap;
154 boost::unordered_set<test::object, test::hash, test::equal_to,
157 boost::unordered_multiset<test::object, test::hash, test::equal_to,
160 boost::unordered_map<test::object, test::object, test::hash, test::equal_to,
164 test::equal_to, test::cxx11_allocator<test::object, test::propagate_swap> >*
167 boost::unordered_set<test::object, test::hash, test::equal_to,
[all …]
/third_party/boost/libs/mpl/doc/src/refmanual/
Dequal_to.rst1 .. Metafunctions/Comparisons//equal_to |50
3 equal_to title
15 struct equal_to
33 #include <boost/mpl/equal_to.hpp>
63 typedef equal_to<c1,c2>::type r;
80 typedef equal_to<c1,c2> r;
90 struct r : equal_to<c1,c2>::type {};
105 BOOST_MPL_ASSERT_NOT(( equal_to< int_<0>, int_<10> > ));
106 BOOST_MPL_ASSERT_NOT(( equal_to< long_<10>, int_<0> > ));
107 BOOST_MPL_ASSERT(( equal_to< long_<10>, int_<10> > ));
/third_party/boost/libs/range/test/algorithm_test/
Dequal.cpp44 BOOST_CHECK( boost::equal(cont1, cont2, std::equal_to<int>()) ); in test_equal_impl()
45 … BOOST_CHECK( boost::equal(boost::make_iterator_range(cont1), cont2, std::equal_to<int>()) ); in test_equal_impl()
46 … BOOST_CHECK( boost::equal(cont1, boost::make_iterator_range(cont2), std::equal_to<int>()) ); in test_equal_impl()
47 …qual(boost::make_iterator_range(cont1), boost::make_iterator_range(cont2), std::equal_to<int>()) ); in test_equal_impl()
57 BOOST_CHECK( !boost::equal(cont1, cont2, std::equal_to<int>()) ); in test_equal_impl()
58 … BOOST_CHECK( !boost::equal(boost::make_iterator_range(cont1), cont2, std::equal_to<int>()) ); in test_equal_impl()
59 … BOOST_CHECK( !boost::equal(cont1, boost::make_iterator_range(cont2), std::equal_to<int>()) ); in test_equal_impl()
60 …qual(boost::make_iterator_range(cont1), boost::make_iterator_range(cont2), std::equal_to<int>()) ); in test_equal_impl()
70 BOOST_CHECK( !boost::equal(cont1, cont2, std::equal_to<int>()) ); in test_equal_impl()
71 … BOOST_CHECK( !boost::equal(boost::make_iterator_range(cont1), cont2, std::equal_to<int>()) ); in test_equal_impl()
[all …]
/third_party/boost/libs/ratio/test/ratio_extensions/
Dmpl_equal_to_pass.cpp29 BOOST_RATIO_STATIC_ASSERT((boost::mpl::equal_to<R1, R2>::value), NOTHING, ()); in test()
34 BOOST_RATIO_STATIC_ASSERT((boost::mpl::equal_to<R1, R2>::value), NOTHING, ()); in test()
39 BOOST_RATIO_STATIC_ASSERT((boost::mpl::equal_to<R1, R2>::value), NOTHING, ()); in test()
44 BOOST_RATIO_STATIC_ASSERT((boost::mpl::equal_to<R1, R2>::value), NOTHING, ()); in test()
49 BOOST_RATIO_STATIC_ASSERT((!boost::mpl::equal_to<R1, R2>::value), NOTHING, ()); in test()
54 BOOST_RATIO_STATIC_ASSERT((!boost::mpl::equal_to<R1, R2>::value), NOTHING, ()); in test()
59 BOOST_RATIO_STATIC_ASSERT((!boost::mpl::equal_to<R1, R2>::value), NOTHING, ()); in test()
64 BOOST_RATIO_STATIC_ASSERT((!boost::mpl::equal_to<R1, R2>::value), NOTHING, ()); in test()
/third_party/boost/libs/iterator/doc/
Dinteroperability-revisited.rst45 return static_cast<Derived1 const&>(lhs).equal_to(static_cast<Derived2 const&(rhs));
48 The problem with this is that operator== always forwards to Derived1::equal_to. The net effect is t…
54 bool equal_to(Mutable const&);
65 bool equal_to(Constant const&);
71 c == m; // ok, dispatched to Constant::equal_to
72 m == c; // !! error, dispatched to Mutable::equal_to
79 …enable_if<is_convertible<Mutable, T> || is_convertible<T, Mutable>, bool>::type equal_to(T const&)…
89 …enable_if<is_convertible<Constant, T> || is_convertible<T, Constant>, bool>::type equal_to(T const…
93 a major design problem lurking here. Note that in both types equal_to is a function template with
99 bool equal_to(Mutable const&);
[all …]
/third_party/boost/libs/unordered/test/objects/
Dexception.hpp24 class equal_to;
279 class equal_to class
284 equal_to(int t = 0) : tag_(t) in equal_to() function in test::exception::equal_to
286 UNORDERED_SCOPE(equal_to::equal_to()) in equal_to()
292 equal_to(equal_to const& x) : tag_(x.tag_) in equal_to() function in test::exception::equal_to
294 UNORDERED_SCOPE(equal_to::equal_to(equal_to)) in equal_to()
300 equal_to& operator=(equal_to const& x) in operator =()
302 UNORDERED_SCOPE(equal_to::operator=(equal_to)) in operator =()
313 UNORDERED_SCOPE(equal_to::operator()(object, object)) in operator ()()
324 UNORDERED_SCOPE(equal_to::operator()( in operator ()()
[all …]
/third_party/boost/libs/unordered/test/exception/
Dcontainers.hpp16 test::exception::equal_to,
20 test::exception::hash, test::exception::equal_to,
24 test::exception::hash, test::exception::equal_to,
28 test::exception::object, test::exception::hash, test::exception::equal_to,
33 test::exception::hash, test::exception::equal_to,
38 test::exception::hash, test::exception::equal_to,
/third_party/boost/libs/mpl/test/
Dnumeric_ops.cpp79 equal_to< typename N1::real, typename N2::real >
80 , equal_to< typename N1::imag, typename N2::imag >
145 MPL_ASSERT(( equal_to<c1,c1> )); in MPL_TEST_CASE()
146 MPL_ASSERT(( equal_to<c2,c2> )); in MPL_TEST_CASE()
147 MPL_ASSERT_NOT(( equal_to<c1,c2> )); in MPL_TEST_CASE()
149 MPL_ASSERT(( equal_to<c1, complex< long_<5>, long_<-1> > > )); in MPL_TEST_CASE()
152 MPL_ASSERT_NOT(( equal_to<c1,i> )); in MPL_TEST_CASE()
153 MPL_ASSERT_NOT(( equal_to<i,c2> )); in MPL_TEST_CASE()

12345678910>>...18