template <class Iterator> typename reverse_iterator<Iterator>::difference_type operator- ( const reverse_iterator<Iterator>& lhs, const reverse_iterator<Iterator>& rhs);
template <class Iterator1, class Iterator2> auto operator- (const reverse_iterator<Iterator>& lhs, const reverse_iterator<Iterator>& rhs) -> decltype (rhs.base()-lhs.base()) { return rhs.base()-lhs.base(); }
|
|
myvector has 10 elements. |