C + + Primer (Fifth edition) learning Note _1_ Standard Template Library-Quick Start

Source: Internet
Author: User

C + + Primer (Fifth edition) learning Note _1_ Standard Template Library-Quick Start

Welcome to read the reference, if there are errors or questions, please leave a message to correct, thank you


The Standard Template Library (STL) provides three types of components: containers, iterators, and algorithms, all of which support generic program design standards.

There are two main types of containers: sequential containers and associative containers. sequential containers (vectors, lists, deque, and string, etc.) are an ordered set of elements. The associated containers (set, Multiset, map, and Multimap) contain the key values of the lookup element.

The function of an iterator is to traverse the container.

STL algorithm library contains four kinds of algorithms: sorting algorithm, non-variable order algorithm, variable order algorithm and numerical algorithm.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

C + + Primer (Fifth edition) learning Note _1_ Standard Template Library-Quick Start

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.