Home
last modified time | relevance | path

Searched refs:iterator_traits (Results 1 – 25 of 657) sorted by relevance

12345678910>>...27

/third_party/boost/libs/config/test/
Dboost_no_std_iter_traits.ipp9 // TITLE: std::iterator_traits
11 // compliant implementation of std::iterator_traits.
34 std::iterator_traits<UDT_iterator>::value_type v = 0;
35 std::iterator_traits<UDT_iterator>::difference_type d = 0;
36 std::iterator_traits<UDT_iterator>::pointer p = &v;
37 std::iterator_traits<UDT_iterator>::reference r = v;
38 std::iterator_traits<UDT_iterator>::iterator_category cat;
40 std::iterator_traits<UDT*>::value_type v2;
41 std::iterator_traits<UDT*>::difference_type d2 = 0;
42 std::iterator_traits<UDT*>::pointer p2 = &v2;
[all …]
/third_party/boost/libs/core/test/
Ddetail_iterator_test.cpp79 BOOST_TEST_TRAIT_TRUE((is_same<boost::detail::iterator_traits<It>::iterator_category,C>)); in main()
80 BOOST_TEST_TRAIT_TRUE((is_same<boost::detail::iterator_traits<It>::value_type,T>)); in main()
81 BOOST_TEST_TRAIT_TRUE((is_same<boost::detail::iterator_traits<It>::difference_type,D>)); in main()
82 BOOST_TEST_TRAIT_TRUE((is_same<boost::detail::iterator_traits<It>::pointer,P>)); in main()
83 BOOST_TEST_TRAIT_TRUE((is_same<boost::detail::iterator_traits<It>::reference,R>)); in main()
97 …BOOST_TEST_TRAIT_TRUE((is_same<boost::detail::iterator_traits<It>::iterator_category,std::random_a… in main()
98 BOOST_TEST_TRAIT_TRUE((is_same<boost::detail::iterator_traits<It>::value_type,T>)); in main()
99 …BOOST_TEST_TRAIT_TRUE((is_same<boost::detail::iterator_traits<It>::difference_type,std::ptrdiff_t>… in main()
100 BOOST_TEST_TRAIT_TRUE((is_same<boost::detail::iterator_traits<It>::pointer,T*>)); in main()
101 BOOST_TEST_TRAIT_TRUE((is_same<boost::detail::iterator_traits<It>::reference,T&>)); in main()
[all …]
/third_party/boost/libs/regex/doc/
Dsub_match.qbk64 …typedef typename iterator_traits<BidirectionalIterator>::value_type ``[link boost_regex.sub_…
65 …typedef typename iterator_traits<BidirectionalIterator>::difference_type ``[link boost_regex.sub_…
109 …_regex.sub_match.op_compare7 operator ==]`` (const std::basic_string<iterator_traits<Bidirectional…
114 …_regex.sub_match.op_compare8 operator != ]``(const std::basic_string<iterator_traits<Bidirectional…
119 …t_regex.sub_match.op_compare9 operator <]`` (const std::basic_string<iterator_traits<Bidirectional…
124 …_regex.sub_match.op_compare10 operator >]`` (const std::basic_string<iterator_traits<Bidirectional…
129 …regex.sub_match.op_compare11 operator >= ]``(const std::basic_string<iterator_traits<Bidirectional…
134 …regex.sub_match.op_compare12 operator <= ]``(const std::basic_string<iterator_traits<Bidirectional…
141 const std::basic_string<iterator_traits<BidirectionalIterator>::value_type,
146 const std::basic_string<iterator_traits<BidirectionalIterator>::value_type,
[all …]
/third_party/boost/libs/iterator/doc/quickbook/
Diterator_traits.qbk1 [section:iterator_traits Iterator Traits]
3 `std::iterator_traits` provides access to five associated types
7 metaprogramming context. `<boost/iterator/iterator_traits.hpp>`
12 Header `<boost/iterator/iterator_traits.hpp>`:
18 std::iterator_traits<Iterator>::value_type
26 std::iterator_traits<Iterator>::reference
34 std::iterator_traits<Iterator>::pointer
42 detail::iterator_traits<Iterator>::difference_type
50 detail::iterator_traits<Iterator>::iterator_category
/third_party/boost/boost/graph/detail/
Dincremental_components.hpp30 typename std::iterator_traits<
32 typename std::iterator_traits<
34 typename std::iterator_traits< IndexRandomAccessIterator >::pointer,
35 typename std::iterator_traits<
44 typedef typename std::iterator_traits<
46 typedef typename std::iterator_traits<
49 typename std::iterator_traits< IndexRandomAccessIterator >::pointer
51 typedef typename std::iterator_traits<
Dpermutation.hpp24 typedef typename std::iterator_traits< Iter1 >::difference_type D; in permute_serial()
43 typename std::iterator_traits< RandIterP >::difference_type i = 0; in permute_copy()
96 typedef typename std::iterator_traits< PermIter >::value_type T; in invert_permutation()
133 typedef typename std::iterator_traits< Iter1 >::value_type P1; in serialize_permutation()
134 typedef typename std::iterator_traits< Iter2 >::value_type P2; in serialize_permutation()
135 typedef typename std::iterator_traits< Iter1 >::difference_type D; in serialize_permutation()
166 typedef typename std::iterator_traits< IterP >::value_type P; in sortp()
167 typedef typename std::iterator_traits< IterP >::difference_type D; in sortp()
181 typedef typename std::iterator_traits< IterP >::value_type P; in sortp()
188 typedef typename std::iterator_traits< Iter >::value_type T; in sortp()
[all …]
/third_party/boost/boost/move/algo/
Dadaptive_merge.hpp26 , typename iterator_traits<RandIt>::size_type len1 in adaptive_merge_combine_blocks()
27 , typename iterator_traits<RandIt>::size_type len2 in adaptive_merge_combine_blocks()
28 , typename iterator_traits<RandIt>::size_type collected in adaptive_merge_combine_blocks()
29 , typename iterator_traits<RandIt>::size_type n_keys in adaptive_merge_combine_blocks()
30 , typename iterator_traits<RandIt>::size_type l_block in adaptive_merge_combine_blocks()
37 typedef typename iterator_traits<RandIt>::size_type size_type; in adaptive_merge_combine_blocks()
97 , typename iterator_traits<RandIt>::size_type len1 in adaptive_merge_final_merge()
98 , typename iterator_traits<RandIt>::size_type len2 in adaptive_merge_final_merge()
99 , typename iterator_traits<RandIt>::size_type collected in adaptive_merge_final_merge()
100 , typename iterator_traits<RandIt>::size_type l_intbuf in adaptive_merge_final_merge()
[all …]
Dadaptive_sort.hpp26 , typename iterator_traits<RandIt>::size_type const l_data in move_data_backward()
43 , typename iterator_traits<RandIt>::size_type const l_data in move_data_forward()
79 typename iterator_traits<RandIt>::size_type
82 , typename iterator_traits<RandIt>::size_type const len in adaptive_sort_build_blocks()
83 , typename iterator_traits<RandIt>::size_type const l_base in adaptive_sort_build_blocks()
84 , typename iterator_traits<RandIt>::size_type const l_build_buf in adaptive_sort_build_blocks()
88 typedef typename iterator_traits<RandIt>::size_type size_type; in adaptive_sort_build_blocks()
159 , typename iterator_traits<RandIt>::size_type const len in adaptive_sort_combine_blocks()
160 , typename iterator_traits<RandIt>::size_type const l_prev_merged in adaptive_sort_combine_blocks()
161 , typename iterator_traits<RandIt>::size_type const l_block in adaptive_sort_combine_blocks()
[all …]
/third_party/boost/doc/test/
Dtest.qbk100 typedef typename iterator_traits<BidirectionalIterator>::value_type value_type;
101 typedef typename iterator_traits<BidirectionalIterator>::difference_type difference_type;
145 bool operator == (const std::basic_string<iterator_traits<BidirectionalIterator>::value_type,
150 bool operator != (const std::basic_string<iterator_traits<BidirectionalIterator>::value_type,
155 bool operator < (const std::basic_string<iterator_traits<BidirectionalIterator>::value_type,
160 bool operator > (const std::basic_string<iterator_traits<BidirectionalIterator>::value_type,
165 bool operator >= (const std::basic_string<iterator_traits<BidirectionalIterator>::value_type,
170 bool operator <= (const std::basic_string<iterator_traits<BidirectionalIterator>::value_type,
177 const std::basic_string<iterator_traits<BidirectionalIterator>::value_type,
182 const std::basic_string<iterator_traits<BidirectionalIterator>::value_type,
[all …]
/third_party/boost/libs/iterator/doc/
Diterator_traits.rst17 :abstract: Header ``<boost/iterator/iterator_traits.hpp>`` provides
26 ``std::iterator_traits`` provides access to five associated types
30 metaprogramming context. ``<boost/iterator/iterator_traits.hpp>``
36 Header ``<boost/iterator/iterator_traits.hpp>``::
42 std::iterator_traits<Iterator>::value_type
50 std::iterator_traits<Iterator>::reference
59 std::iterator_traits<Iterator>::pointer
67 detail::iterator_traits<Iterator>::difference_type
75 detail::iterator_traits<Iterator>::iterator_category
/third_party/boost/libs/container/bench/detail/
Dvarray_util.hpp108 typename ::boost::container::iterator_traits<I>::value_type
111 typename ::boost::container::iterator_traits<O>::value_type
123 bcd::remove_const<typename ::boost::container::iterator_traits<I>::value_type>,
138 typedef typename ::boost::container::iterator_traits<I>::value_type value_type; in destroy_dispatch()
146 typedef typename ::boost::container::iterator_traits<I>::value_type value_type; in destroy()
161 typedef typename ::boost::container::iterator_traits<I>::value_type value_type; in destroy_dispatch()
168 typedef typename ::boost::container::iterator_traits<I>::value_type value_type; in destroy()
177 typedef typename ::boost::container::iterator_traits<I>::value_type value_type; in copy_dispatch()
194 …bcd::is_trivially_copy_assignable<typename ::boost::container::iterator_traits<O>::value_type>::va… in copy()
207 typedef typename ::boost::container::iterator_traits<I>::value_type value_type; in uninitialized_copy_dispatch()
[all …]
/third_party/boost/boost/stl_interfaces/
Dreverse_iterator.hpp69 typename std::iterator_traits<BidiIter>::iterator_category,
71 typename std::iterator_traits<BidiIter>::value_type,
72 typename std::iterator_traits<BidiIter>::reference,
73 typename std::iterator_traits<BidiIter>::pointer,
74 typename std::iterator_traits<BidiIter>::difference_type>
93 typename std::iterator_traits<BidiIter>::iterator_category{}))) in operator -()
98 typename std::iterator_traits<BidiIter>::iterator_category{});
101 constexpr typename std::iterator_traits<BidiIter>::reference
109 typename std::iterator_traits<BidiIter>::difference_type in operator +=()
114 typename std::iterator_traits< in operator +=()
[all …]
/third_party/boost/boost/move/algo/detail/
Dadaptive_sort_merge.hpp134 typename iterator_traits<ForwardIt>::size_type
137 typedef typename iterator_traits<ForwardIt>::size_type size_type; in count_if_with()
150 , const typename iterator_traits<RandIt>::value_type &next_key, Compare comp) in skip_until_merge()
271 typename iterator_traits<RandIt>::size_type
276 , typename iterator_traits<RandIt>::size_type const l_block in find_next_block()
277 , typename iterator_traits<RandIt>::size_type const ix_first_block in find_next_block()
278 , typename iterator_traits<RandIt>::size_type const ix_last_block in find_next_block()
281 typedef typename iterator_traits<RandIt>::size_type size_type; in find_next_block()
282 typedef typename iterator_traits<RandIt>::value_type value_type; in find_next_block()
283 typedef typename iterator_traits<RandItKeys>::value_type key_type; in find_next_block()
[all …]
/third_party/boost/boost/intrusive/detail/
Diterator.hpp51 using boost::movelib::iterator_traits;
84 < is_boost_iterator<typename boost::intrusive::iterator_traits<I>::iterator_category >::value
95 < typename boost::intrusive::iterator_traits<I>::iterator_category
105 < typename boost::intrusive::iterator_traits<I>::iterator_category
118 < typename boost::intrusive::iterator_traits<I>::iterator_category
122 < typename boost::intrusive::iterator_traits<I>::iterator_category
133 : iterator_enable_if_tag<I, Tag, typename boost::intrusive::iterator_traits<I>::difference_type>
138 : iterator_disable_if_tag<I, Tag, typename boost::intrusive::iterator_traits<I>::difference_type>
234 typename iterator_traits<InputIt>::difference_type off = 0; in iterator_distance()
247 typename iterator_traits<InputIt>::difference_type off = last - first; in iterator_distance()
[all …]
/third_party/boost/libs/container/test/
Dinput_from_forward_iterator.hpp23 , typename boost::container::iterator_traits<FwdIterator>::value_type
24 , typename boost::container::iterator_traits<FwdIterator>::difference_type
25 , typename boost::container::iterator_traits<FwdIterator>::pointer
26 , typename boost::container::iterator_traits<FwdIterator>::reference
49 typename boost::container::iterator_traits<FwdIterator>::reference operator*() const in operator *()
52 typename boost::container::iterator_traits<FwdIterator>::pointer operator->() const in operator ->()
/third_party/boost/libs/algorithm/test/
Diterator_test.hpp28 typedef typename std::iterator_traits<It>::value_type value_type;
29 typedef typename std::iterator_traits<It>::difference_type difference_type;
31 typedef typename std::iterator_traits<It>::reference reference;
77 typedef typename std::iterator_traits<It>::value_type value_type;
78 typedef typename std::iterator_traits<It>::difference_type difference_type;
80 typedef typename std::iterator_traits<It>::reference reference;
125 typedef typename std::iterator_traits<It>::value_type value_type;
126 typedef typename std::iterator_traits<It>::difference_type difference_type;
128 typedef typename std::iterator_traits<It>::reference reference;
170 typedef typename std::iterator_traits<It>::value_type value_type;
[all …]
/third_party/boost/boost/algorithm/
Dclamp.hpp92 typename std::iterator_traits<InputIterator>::value_type const & lo, in clamp_range()
93 typename std::iterator_traits<InputIterator>::value_type const & hi ) in clamp_range()
114 …typename std::iterator_traits<typename boost::range_iterator<const Range>::type>::value_type const… in clamp_range()
115 …typename std::iterator_traits<typename boost::range_iterator<const Range>::type>::value_type const… in clamp_range()
138 typename std::iterator_traits<InputIterator>::value_type const & lo, in clamp_range()
139 typename std::iterator_traits<InputIterator>::value_type const & hi, Pred p ) in clamp_range()
166 …typename std::iterator_traits<typename boost::range_iterator<const Range>::type>::value_type const… in clamp_range()
167 …typename std::iterator_traits<typename boost::range_iterator<const Range>::type>::value_type const… in clamp_range()
/third_party/boost/boost/gil/io/
Dconversion_policies.hpp35 typename std::iterator_traits<InIterator>::value_type, in read()
36 typename std::iterator_traits<OutIterator>::value_type in read()
50 typename std::iterator_traits<InIterator>::value_type, in read()
51 typename std::iterator_traits<OutIterator>::value_type in read()
81 using deref_t = color_convert_deref_fn<typename std::iterator_traits<InIterator>::reference in read()
82 … , typename std::iterator_traits<OutIterator>::value_type //reference? in read()
/third_party/boost/boost/iterator/
Diterator_traits.hpp23 typedef typename std::iterator_traits<Iterator>::value_type type;
29 typedef typename std::iterator_traits<Iterator>::reference type;
36 typedef typename std::iterator_traits<Iterator>::pointer type;
42 typedef typename std::iterator_traits<Iterator>::difference_type type;
48 typedef typename std::iterator_traits<Iterator>::iterator_category type;
/third_party/boost/libs/intrusive/test/
Diterator_test.hpp98 typedef typename iterator_traits<I>::reference reference; in test_iterator_operations()
101 typedef typename iterator_traits<I>::pointer pointer; in test_iterator_operations()
159 typedef iterator_traits<iterator> nit_traits; in test_iterator_input_and_compatible()
160 typedef iterator_traits<const_iterator> cit_traits; in test_iterator_input_and_compatible()
161 typedef iterator_traits<reverse_iterator> rnit_traits; in test_iterator_input_and_compatible()
162 typedef iterator_traits<const_reverse_iterator> crit_traits; in test_iterator_input_and_compatible()
316 typedef iterator_traits<iterator> nit_traits; in test_iterator_forward()
317 typedef iterator_traits<const_iterator> cit_traits; in test_iterator_forward()
318 typedef iterator_traits<reverse_iterator> rnit_traits; in test_iterator_forward()
319 typedef iterator_traits<const_reverse_iterator> crit_traits; in test_iterator_forward()
[all …]
/third_party/boost/boost/proto/functional/std/
Diterator.hpp46 typename std::iterator_traits<
55 typename std::iterator_traits<InputIterator>::difference_type
95 , static_cast<typename std::iterator_traits<ForwardIterator>::difference_type>(1) in operator ()()
102 , typename std::iterator_traits<ForwardIterator>::difference_type n in operator ()()
142 … , -static_cast<typename std::iterator_traits<BidirectionalIterator>::difference_type>(1) in operator ()()
149 , typename std::iterator_traits<BidirectionalIterator>::difference_type n in operator ()()
/third_party/boost/boost/algorithm/cxx14/
Dequal.hpp76 typename std::iterator_traits<InputIterator1>::iterator_category (), in equal()
77 typename std::iterator_traits<InputIterator2>::iterator_category ()); in equal()
96 typename std::iterator_traits<InputIterator1>::value_type, in equal()
97 typename std::iterator_traits<InputIterator2>::value_type> (), in equal()
98 typename std::iterator_traits<InputIterator1>::iterator_category (), in equal()
99 typename std::iterator_traits<InputIterator2>::iterator_category ()); in equal()
/third_party/boost/boost/spirit/home/support/iterators/detail/
Dinput_iterator_policy.hpp41 typename std::iterator_traits<T>::value_type
46 typename std::iterator_traits<T>::difference_type
49 typename std::iterator_traits<T>::difference_type
52 typename std::iterator_traits<T>::pointer
55 typename std::iterator_traits<T>::reference
/third_party/boost/boost/container/detail/
Diterator.hpp31 using ::boost::intrusive::iterator_traits;
70 using it_based_non_const_first_type_t = typename dtl::remove_const<typename iterator_traits<InputIt…
73 using it_based_const_first_type_t = const typename dtl::remove_const<typename iterator_traits<Input…
76 using it_based_second_type_t = typename iterator_traits<InputIterator>::value_type::second_type;
79 using it_based_value_type_t = typename iterator_traits<InputIterator>::value_type;
/third_party/boost/libs/geometry/test/test_geometries/
Dcopy_on_dereference_geometries.hpp29 typename std::iterator_traits<RandomAccessIterator>::value_type,
31 typename std::iterator_traits<RandomAccessIterator>::value_type,
32 typename std::iterator_traits<RandomAccessIterator>::difference_type
39 typename std::iterator_traits<RandomAccessIterator>::value_type,
41 typename std::iterator_traits<RandomAccessIterator>::value_type,
42 typename std::iterator_traits<RandomAccessIterator>::difference_type

12345678910>>...27