What is standard template library? |
[Edit] |
Answer
Standard Template Library (STL) is part of the C++ standard library.
The <i>template</i> concept in C++ allows to define generic classes which may then be brought to life with concrete types. For example, one could define a template <i>list</i> with repective methods and operators (including an element to a list, finding an element, ...) without specifying the concrete type of the list elements. Later on, one simply defines, e.g., a list of adresses by first defining the class <i>address</i> and then defining a new class as list of this address type.
First answer by Chockemeyer. Last edit by Chockemeyer. Contributor trust: 18 [recommend contributor]. Question popularity: 19 [recommend question]
|
Research your answer: |



