Changeset 3530
- Timestamp:
- Oct 11, 2016, 9:57:10 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/statistics/AveragerPairWeighted.h
r2571 r3530 151 151 \brief adding a ranges of values to AveragerPairWeighted \a ap 152 152 153 Type Requirement: 154 - \c InputIterator1 models \ref concept_data_iterator 155 - \c InputIterator1 is \single_pass_iterator 156 - \c InputIterator2 models \ref concept_data_iterator 157 - \c InputIterator2 is \single_pass_iterator 158 153 159 \relates AveragerPairWeighted 154 160 */ … … 157 163 InputIterator1 last1, InputIterator2 first2) 158 164 { 159 BOOST_CONCEPT_ASSERT((boost::InputIterator<InputIterator1>)); 160 BOOST_CONCEPT_ASSERT((boost::InputIterator<InputIterator2>)); 165 BOOST_CONCEPT_ASSERT((utility::DataIteratorConcept<InputIterator1>)); 166 BOOST_CONCEPT_ASSERT((boost_concepts::SinglePassIterator<InputIterator1>)); 167 BOOST_CONCEPT_ASSERT((utility::DataIteratorConcept<InputIterator2>)); 168 BOOST_CONCEPT_ASSERT((boost_concepts::SinglePassIterator<InputIterator2>)); 169 161 170 utility::iterator_traits<InputIterator1> traits1; 162 171 utility::iterator_traits<InputIterator2> traits2; … … 173 182 Iterators must be unweighted. 174 183 184 Type Requirement: 185 - \c InputIterator1 models \single_pass_iterator 186 - \c InputIterator1 models \readable_iterator 187 - \c InputIterator1 is weighted 188 - \c InputIterator2 models \single_pass_iterator 189 - \c InputIterator2 models \readable_iterator 190 - \c InputIterator2 is weighted 191 - \c InputIterator3 models \single_pass_iterator 192 - \c InputIterator3 models \readable_iterator 193 - \c InputIterator3 is weighted 194 - \c InputIterator4 models \single_pass_iterator 195 - \c InputIterator4 models \readable_iterator 196 - \c InputIterator4 is weighted 197 175 198 \relates AveragerPairWeighted 176 199 */ 177 200 template <typename InputIterator1, typename InputIterator2 178 201 , typename InputIterator3, typename InputIterator4> 179 void add(AveragerPairWeighted& ap, InputIterator1 x, InputIterator1 xlast, 202 void add(AveragerPairWeighted& ap, InputIterator1 x, InputIterator1 xlast, 180 203 InputIterator2 y, InputIterator3 wx, InputIterator4 wy) 181 204 { 182 BOOST_CONCEPT_ASSERT((boost::InputIterator<InputIterator1>)); 183 BOOST_CONCEPT_ASSERT((boost::InputIterator<InputIterator2>)); 184 BOOST_CONCEPT_ASSERT((boost::InputIterator<InputIterator3>)); 185 BOOST_CONCEPT_ASSERT((boost::InputIterator<InputIterator4>)); 205 BOOST_CONCEPT_ASSERT((boost_concepts::ReadableIterator<InputIterator1>)); 206 BOOST_CONCEPT_ASSERT((boost_concepts::SinglePassIterator<InputIterator1>)); 207 BOOST_CONCEPT_ASSERT((boost_concepts::ReadableIterator<InputIterator2>)); 208 BOOST_CONCEPT_ASSERT((boost_concepts::SinglePassIterator<InputIterator2>)); 209 BOOST_CONCEPT_ASSERT((boost_concepts::ReadableIterator<InputIterator3>)); 210 BOOST_CONCEPT_ASSERT((boost_concepts::SinglePassIterator<InputIterator3>)); 211 BOOST_CONCEPT_ASSERT((boost_concepts::ReadableIterator<InputIterator4>)); 212 BOOST_CONCEPT_ASSERT((boost_concepts::SinglePassIterator<InputIterator4>)); 213 186 214 utility::check_iterator_is_unweighted(x); 187 215 utility::check_iterator_is_unweighted(y);
Note: See TracChangeset
for help on using the changeset viewer.