algorithm vector resverse函数
摘要:
Reverse rangeReverses the order of the elements in the range[first,last).The behavior of this function template is equivalent to:template <class BidirectionalIterator> void reverse ( BidirectionalIterator first, BidirectionalIterator last){ while ((first!=last)&&(first!=--last)) swap ( 阅读全文
posted @ 2011-02-27 16:58 josen-jiang 阅读(355) 评论(0) 推荐(0) 编辑