本文主要是介绍STL_Lesson005_002,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
容器中的与算法中的重名函数
array:fill Fill array with value (public member function )fill Fill range with value (function template )swap Swap content (public member function )swap Exchange values of two objects (function template )vector:swap Swap content (public member function )swap Exchange contents of vectors (function template )swap Exchange values of two objects (function template )deque:swap Swap content (public member function )swap Exchanges the contents of two deque containers (function template )swap Exchange values of two objects (function template )forward_list:swap Swap content (public member function )swap (forward_list) Exchanges the contents of two forward_list containers (function template )swap Exchange values of two objects (function template )remove Remove elements with specific value (public member function )remove Remove value from range (function template )remove_if Remove elements fulfilling condition (public member function template )remove_if Remove elements from range (function template )unique Remove duplicate values (public member function )unique Remove consecutive duplicates in range (function template )merge Merge sorted lists (public member function )merge Merge sorted ranges (function template )sort Sort elements in container (public member function )sort Sort elements in range (function template )reverse Reverse the order of elements (public member function )reverse Reverse range (function template )list:swap Swap content (public member function )swap (list) Exchanges the contents of two lists (function template )swap Exchange values of two objects (function template )remove Remove elements with specific value (public member function )remove Remove value from range (function template )remove_if Remove elements fulfilling condition (public member function template )remove_if Remove elements from range (function template )unique Remove duplicate values (public member function )unique Remove consecutive duplicates in range (function template )sort Sort elements in container (public member function )sort Sort elements in range (function template )reverse Reverse the order of elements (public member function )reverse Reverse range (function template )stack:swap Swap contents (public member function )swap (stack) Exchange contents of stacks (public member function )swap Exchange values of two objects (function template )queue:swap Swap contents (public member function )swap (queue) Exchange contents of queues (public member function )swap Exchange values of two objects (function template )priority_queue:swap Swap contents (public member function )swap (queue) Exchange contents of priority queues (public member function )swap Exchange values of two objects (function template )set:swap Swap content (public member function )swap Exchange values of two objects (function template )find Get iterator to element (public member function )find Find value in range (function template )count Count elements with a specific value (public member function )count Count appearances of value in range (function template )lower_bound Return iterator to lower bound (public member function )lower_bound Return iterator to lower bound (function template )upper_bound Return iterator to upper bound (public member function )upper_bound Return iterator to upper bound (function template )equal_range Get range of equal elements (public member function )equal_range Get subrange of equal elements (function template )multiset:swap Swap content (public member function )swap Exchange values of two objects (function template )find Get iterator to element (public member function )find Find value in range (function template )count Count elements with a specific key (public member function )count Count appearances of value in range (function template )lower_bound Return iterator to lower bound (public member function )lower_bound Return iterator to lower bound (function template )upper_bound Return iterator to upper bound (public member function )upper_bound Return iterator to upper bound (function template )equal_range Get range of equal elements (public member function )equal_range Get subrange of equal elements (function template )map:swap Swap content (public member function )swap Exchange values of two objects (function template )find Get iterator to element (public member function )find Find value in range (function template )count Count elements with a specific key (public member function )count Count appearances of value in range (function template )lower_bound Return iterator to lower bound (public member function )lower_bound Return iterator to lower bound (function template )upper_bound Return iterator to upper bound (public member function )upper_bound Return iterator to upper bound (function template )equal_range Get range of equal elements (public member function )equal_range Get subrange of equal elements (function template )multimap:swap Swap content (public member function )swap Exchange values of two objects (function template )find Get iterator to element (public member function )find Find value in range (function template )count Count elements with a specific key (public member function )count Count appearances of value in range (function template )lower_bound Return iterator to lower bound (public member function )lower_bound Return iterator to lower bound (function template )upper_bound Return iterator to upper bound (public member function )upper_bound Return iterator to upper bound (function template )equal_range Get range of equal elements (public member function )equal_range Get subrange of equal elements (function template )unordered_set:find Get iterator to element (public member function)equal_range Get subrange of equal elements (function template )count Count elements with a specific key (public member function)count Count appearances of value in range (function template )equal_range Get range of elements with a specific key (public member function)equal_range Get subrange of equal elements (function template )swap Swap content (public member function)swap Exchange values of two objects (function template )unordered_multiset:find Get iterator to element (public member function)equal_range Get subrange of equal elements (function template )count Count elements with a specific key (public member function)count Count appearances of value in range (function template )equal_range Get range of elements with a specific key (public member function)equal_range Get subrange of equal elements (function template )swap Swap content (public member function)swap Exchange values of two objects (function template )unordered_map:find Get iterator to element (public member function)equal_range Get subrange of equal elements (function template )count Count elements with a specific key (public member function)count Count appearances of value in range (function template )equal_range Get range of elements with a specific key (public member function)equal_range Get subrange of equal elements (function template )swap Swap content (public member function)swap Exchange values of two objects (function template )unordered_multimap:find Get iterator to element (public member function)equal_range Get subrange of equal elements (function template )count Count elements with a specific key (public member function)count Count appearances of value in range (function template )equal_range Get range of elements with a specific key (public member function)equal_range Get subrange of equal elements (function template )swap Swap content (public member function)swap Exchange values of two objects (function template )
这篇关于STL_Lesson005_002的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!