Changeset 2503
- Timestamp:
- Jun 29, 2011, 3:15:03 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/statistics/utility.h
r2502 r2503 301 301 return (1-j+floor(j))*first[i] + (j-floor(j))*first[i+1]; 302 302 } 303 304 std::vector<typename std::iterator_traits<RandomAccessIterator>::value_type>305 303 using std::iterator_traits; 304 typedef typename iterator_traits<RandomAccessIterator>::value_type value_t; 305 std::vector<value_t> v_copy; 306 306 v_copy.reserve(std::distance(first,last)); 307 307 std::copy(first, last, std::back_inserter(v_copy));
Note: See TracChangeset
for help on using the changeset viewer.