Encyclopedia > Standard Template Library

  Article Content

Standard Template Library

The Standard Template Library (STL) is part of the C++ Standard Library describing containers, iterators and algorithms.

The STL has been a major improvement for C++ programmers: it gives the user a ready-made set of common classes, like vectors and associative arrays, that can be used with any built-in type, and even with user-defined classes with the overloading of a few operators.

The STL can achieve this result with its heavy use of templates. While very powerful, the resulting complicated code was (and sometimes still is) a problem for many different compilers, that sometimes failed to compile valid constructs, produced invalid code or required the programmer extra effort to get everything right.

The C++ Standard Library is defined by ISO/IEC 14882[?].



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Battle Creek, Michigan

... size is 2.43 and the average family size is 3.04. In the city the population is spread out with 27.2% under the age of 18, 8.7% from 18 to 24, 29.5% from 25 to 44, ...

 
 
 
This page was created in 24.2 ms