Global Information Lookup Global Information

Standard Template Library information


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.[1]

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,[2] and value semantics.

The STL and the C++ Standard Library are two distinct entities.[3]

  1. ^ Holzner, Steven (2001). C++ : Black Book. Scottsdale, Ariz.: Coriolis Group. p. 648. ISBN 1-57610-777-9. The STL is made up of containers, iterators, function objects, and algorithms
  2. ^ Musser, David (2001). STL tutorial and reference guide: C++ programming with the standard template library. Addison Wesley. ISBN 0-201-37923-6.
  3. ^ Lightness Races in Orbit (5 March 2011). "What's the difference between "STL" and "C++ Standard Library"?". Stack Overflow. Retrieved 21 October 2021.

and 17 Related for: Standard Template Library information

Request time (Page generated in 0.8646 seconds.)

Standard Template Library

Last Update:

The Standard Template Library (STL) is a software library originally designed by Alexander Stepanov for the C++ programming language that influenced many...

Word Count : 2136

Active Template Library

Last Update:

The Active Template Library (ATL) is a set of template-based C++ classes developed by Microsoft, intended to simplify the programming of Component Object...

Word Count : 581

History of the Standard Template Library

Last Update:

In computing, the Standard Template Library (STL) is a software library for the C++ programming language. The architecture of the STL is largely the creation...

Word Count : 788

Windows Template Library

Last Update:

Windows Template Library (WTL) is a free software, object-oriented C++ template library for Win32 development. WTL was created by Microsoft employee Nenad...

Word Count : 412

C standard library

Last Update:

The C standard library or libc is the standard library for the C programming language, as specified in the ISO C standard. Starting from the original...

Word Count : 2875

Standard library

Last Update:

template, etc., in a library. However, the question here is not, "What ought to be in some library?" but "What ought to be in the standard library?"...

Word Count : 656

Alexander Stepanov

Last Update:

programming and as the primary designer and implementer of the C++ Standard Template Library, which he started to develop around 1992 while employed at HP...

Word Count : 567

Generic programming

Last Update:

implemented in Scheme and Ada, although the best known example is the Standard Template Library (STL), which developed a theory of iterators that is used to decouple...

Word Count : 7708

Microsoft Foundation Class Library

Last Update:

static library or by adding the MFC DLL. Active Template Library (ATL) GLib GTK gtkmm JUCE Qt Standard Template Library (STL) Windows Template Library (WTL)...

Word Count : 1211

C99

Last Update:

Variable-length arrays are not among these included parts because C++'s Standard Template Library already includes similar functionality. A major feature of C99...

Word Count : 2614

Multimap

Last Update:

multimap are particular cases of containers (for example, see C++ Standard Template Library containers). Often the multimap is implemented as a map with lists...

Word Count : 470

Prefix sum

Last Update:

implemented in the Multi-Core Standard Template Library (MCSTL), a parallel implementation of the C++ standard template library which provides adapted versions...

Word Count : 5242

Library

Last Update:

auspices of the] Survey and Standard Committee [of the] American Association of State Libraries. Chicago: American Library Association. xiii, 178 p. Murray...

Word Count : 7575

Stepanov

Last Update:

association football player Alexander Stepanov, designer of the C++ Standard Template Library Alexei Stepanov (1858–1923), Russian painter Andrei Stepanov (footballer)...

Word Count : 305

Introsort

Last Update:

in a number of standard library sort functions, including some C++ sort implementations. The June 2000 SGI C++ Standard Template Library stl_algo.h implementation...

Word Count : 1080

Template metaprogramming

Last Update:

Template metaprogramming (TMP) is a metaprogramming technique in which templates are used by a compiler to generate temporary source code, which is merged...

Word Count : 3113

Data structure

Last Update:

usually come with standard libraries that implement the most common data structures. Examples are the C++ Standard Template Library, the Java Collections Framework...

Word Count : 1822

PDF Search Engine © AllGlobal.net