Search
 
SCRIPT & CODE EXAMPLE
 

CPP

standard template library in c++

[0]
The Standard Template Library (STL) is a software library originally designed
by Alexander Stepanov for the C++ programming language that influenced many
parts of the C++ Standard Library. It provides four components called
algorithms,containers, functions, and iterators.

The STL provides a set of common classes for C++, such as containers and
associative arrays, that can be used with any built-in type and with any
user-defined type that supports some elementary operations
(such as copying and assignment). STL algorithms are independent of 
containers, which significantly reduces the complexity of the library.

The STL achieves its results through the use of templates. This approach
provides compile-time polymorphism that is often more efficient than
traditional run-time polymorphism. Modern C++ compilers are tuned to minimize
abstraction penalties arising from heavy use of the STL.

The STL was created as the first library of generic algorithms and data
structures for C++, with four ideas in mind: generic programming,
abstractness without loss of efficiency, the Von Neumann computation model,
and value
semantics.

The STL and the C++ Standard Library are two distinct entities.
  
[1]
The C++ STL (Standard Template Library) is a powerful set of C++ template
classes to provide general-purpose classes and functions with templates that
implement many popular and commonly used algorithms and data structures like
vectors, lists, queues, and stacks.
Comment

PREVIOUS NEXT
Code Example
Cpp :: C++ sum a vector of digits 
Cpp :: online ide c++ 
Cpp :: comparator priority queue c++ 
Cpp :: find pair with given sum in the array 
Cpp :: walk filesystem in c++ 
Cpp :: int max in c++ 
Cpp :: c++ program to convert celsius to kelvin 
Cpp :: c++ fill two dimensional array 
Cpp :: disallowcopy c++ 
Cpp :: QVariant to int 
Cpp :: resharper fold if statement c+ 
Cpp :: c++ delay 
Cpp :: how to make loop in c++ 
Cpp :: how to format big numbers with commas in c++ 
Cpp :: store array in vector 
Cpp :: nullptr c++ 
Cpp :: how to declare an enum variable c++ 
Cpp :: cyclically rotate an array by once 
Cpp :: c++ - 
Cpp :: copy assignment operator in c++ 
Cpp :: c++ program to find gcd of 3 numbers 
Cpp :: c++ concatenate strings 
Cpp :: build a prefix array cpp 
Cpp :: long long vs long long int 
Cpp :: kmp c++ 
Cpp :: Initialize Vector Iterator with end() function 
Cpp :: print numbers after decimal point c++ 
Cpp :: unambiguous 
Cpp :: scope resulation operator :: in c++ 
Cpp :: prompt user for bool statement C++ 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =