国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > C++ > 正文

c++ STL函數

2019-11-06 08:11:29
字體:
來源:轉載
供稿:網友

c++ 無法通過 auto編譯

g++ -std=c++11 test.cpp

find

template <class InputIterator, class T>InputIterator find (InputIterator first, InputIterator last, const T& val);

Returns an iterator to the first element in the range [first,last) that compares equal to val. If no such element is found, the function returns last. http://www.cplusplus.com/reference/algorithm/find/

copy

template <class InputIterator, class OutputIterator>OutputIterator copy (InputIterator first, InputIterator last, OutputIterator result);

Copies the elements in the range [first,last) into the range beginning at result. http://www.cplusplus.com/reference/algorithm/copy/

copy_backward

template <class BidirectionalIterator1, class BidirectionalIterator2>BidirectionalIterator2 copy_backward (BidirectionalIterator1 first, BidirectionalIterator1 last, BidirectionalIterator2 result);

Bidirectional iterators to the initial and final positions in a sequence to be copied. The range used is [first,last), which contains all the elements between first and last, including the element pointed by first but not the element pointed by last. 從result指針的前一位開始,result指針前一位用last指針的前一位代替,result指針前2位用last指針的前2位代替. http://www.cplusplus.com/reference/algorithm/copy_backward/


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表

圖片精選

主站蜘蛛池模板: 大渡口区| 内江市| 华蓥市| 邵东县| 克东县| 南涧| 永城市| 拉萨市| 巴彦淖尔市| 柳林县| 磐石市| 碌曲县| 筠连县| 缙云县| 钟祥市| 汶川县| 新野县| 金昌市| 彭山县| 通榆县| 宣恩县| 山阴县| 冕宁县| 西盟| 锡林郭勒盟| 黔西县| 宁城县| 白山市| 天长市| 公安县| 南澳县| 四川省| 汉中市| 旬邑县| 水富县| 新宁县| 类乌齐县| 渝中区| 屏南县| 东光县| 广东省|