Home
last modified time | relevance | path

Searched refs:pred_t (Results 1 – 4 of 4) sorted by relevance

/third_party/boost/libs/range/test/algorithm_test/
Dcount_if.cpp35 typedef equal_to_x<int> pred_t; in test_count_if_impl() typedef
41 BOOST_CHECK_EQUAL( 0u, boost::count_if(cont, pred_t(0)) ); in test_count_if_impl()
42 BOOST_CHECK_EQUAL( 0u, boost::count_if(cref_cont, pred_t(0)) ); in test_count_if_impl()
43 BOOST_CHECK_EQUAL( 0u, boost::count_if(boost::make_iterator_range(cont), pred_t(0)) ); in test_count_if_impl()
46 BOOST_CHECK_EQUAL( 0u, boost::count_if(cont, pred_t(0)) ); in test_count_if_impl()
47 BOOST_CHECK_EQUAL( 0u, boost::count_if(cref_cont, pred_t(0)) ); in test_count_if_impl()
48 BOOST_CHECK_EQUAL( 0u, boost::count_if(boost::make_iterator_range(cont), pred_t(0)) ); in test_count_if_impl()
49 BOOST_CHECK_EQUAL( 1u, boost::count_if(cont, pred_t(1)) ); in test_count_if_impl()
50 BOOST_CHECK_EQUAL( 1u, boost::count_if(cref_cont, pred_t(1)) ); in test_count_if_impl()
51 BOOST_CHECK_EQUAL( 1u, boost::count_if(boost::make_iterator_range(cont), pred_t(1)) ); in test_count_if_impl()
[all …]
/third_party/boost/boost/range/adaptor/
Dadjacent_filtered.hpp56 typedef Pred pred_t; typedef in boost::range_detail::skip_iterator
63 , pred_t(pred) in skip_iterator()
69 skip_iterator( const skip_iterator<OtherIter, pred_t, default_pass>& other ) in skip_iterator() argument
71 , pred_t(other) in skip_iterator()
80 pred_t& bi_pred = *this; in increment()
Dfiltered.hpp42 pred_t; typedef
45 : base(make_filter_iterator(pred_t(p), in filtered_range()
47 make_filter_iterator(pred_t(p), in filtered_range()
/third_party/boost/libs/graph/example/
Dgirth.cpp62 typedef boost::u_property< vertex_descriptor > pred_t; typedef
63 boost::property_map< Graph*, pred_t >::type p_map;
136 p_map = get(pred_t(), g); in main()