CS Electrical And Electronics
@cselectricalandelectronics

What is STL in C++?

All QuestionsCategory: Cpp LanguageWhat is STL in C++?
chetan shidling asked 4 years ago

I need short information.

1 Answers
chetan shidling answered 4 years ago

STL stands for standard template library. STL is a library of general-purpose template classes and functions that implement many popular and commonly used algorithms and data structures of any data type. They include support for vectors (i.e., dynamic arrays), lists, stacks, and queues. Since STL is constructed from template classes, the algorithms and data structures can be applied to nearly any type of data.
 
The three components of STL are:

  1. Containers
  2. Algorithms
  3. Iterators