Tag:stl

  • Demystifying the underlying mysteries of lists

    Time:2024-5-22

    catalogs I. List underlying framework (1) Node class (2) Iterator class (3) The list class II. Constructors (1) Parameterless construction (2) n-value construction (3) Iterator interval construction (4) Copy construction III. Iterators Iterator implementation ① Tectonic ② ‘*’ and ‘->’ ③ Pre-++ and post-++ ④ Front – vs. back – ⑤ Comparison operators Iterators in […]

  • [C++] list basic interface

    Time:2024-2-19

    Parents are like iterators that encapsulate their vulnerability …… Hand torn list catalog: I. List’s common interfaces and their use 1.1 List Constructors and Adding, Deleting, Checking and Changing 1.2list Special Interfaces 1.3 List Sorting Performance Analysis Second, list iterator implementation (focus + difficulty) Introductory knowledge about iterators: 2.1 Classification of Iterators 2.2 List Iterator […]

  • [C++] list basic interface

    Time:2024-2-19

    Parents are like iterators that encapsulate their vulnerability …… Hand torn list catalog: I. List’s common interfaces and their use 1.1 List Constructors and Adding, Deleting, Checking and Changing 1.2list Special Interfaces 1.3 List Sorting Performance Analysis Second, list iterator implementation (focus + difficulty) Introductory knowledge about iterators: 2.1 Classification of Iterators 2.2 List Iterator […]