Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Standard Template Library


Related Topics

In the News (Wed 17 Jul 19)

  
  Understanding the C++ Standard Template Library
Libraries come in different shapes, not to say sizes, and the shape of a library has a profound effect on its usability and ease of assimilation.
The STL is a relatively small library which achieves a remarkable degree of reuse through its basis in the principles of generic programming and its use of C++ templates.
Because STL algorithms are template functions specialised on the types of the iterators returned by the underlying containers it is perfectly reasonable to use the copy algorithm to move the contents of one container to another of a different type.
www.davethehat.com /articles/eff_stl.htm   (2938 words)

  
  Standard Template Library - Wikipedia, the free encyclopedia
The STL has been a major boon for most of C++ programmers: it gives them a ready-made set of common classes, 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.
The Standard Template Library was created as the first library of generic algorithms and data structures, with four ideas in mind: generic programming, abstractness without loss of efficiency, the Von Neumann computation model, and value semantics.
Libraries implementing STL often include hashed variants: hash_set, hash_multiset, hash_map and hash_multimap, but these extensions are not part of the standard and are defined in various namespaces among implementations as a result.
en.wikipedia.org /wiki/Standard_Template_Library   (1926 words)

  
 C standard library - Wikipedia, the free encyclopedia
The C standard library is a now-standardised collection of header files and library routines used to implement common operations, such as input/output and string handling, in the C programming language.
The library provides a basic set of mathematical functions, string manipulation, type conversions, and file and console-based I/O. It does not include a standard set of "container types" like the C++ Standard Template Library, let alone the complete graphical user interface (GUI) toolkits, networking tools, and profusion of other functionality that Java provides as standard.
Though often confused with the C Standard Library because of this packaging, the C Runtime Library is not a standardized part of the language and is vendor-specific.
en.wikipedia.org /wiki/C_standard_library   (1205 words)

  
 The JavaScript STL (Standard Template Library). Part 1 - WebReference.com-
Different parts of the STL are interchangeable and the interface for each object is consistent, which makes it easy for programmers to switch between different parts or even implementations without having to modify other parts of their code.
Templates were added in C++ to add a bit of flexibility to the strongly typed nature of the language.
Templates may be used to define new classes as well as functions and these may be based on other classes and even combinations of multiple classes and simple types.
www.webreference.com /programming/javascript/gr/column13   (1221 words)

  
 Standard Template Library: Facts and details from Encyclopedia Topic   (Site not responding. Last check: )
The STL has been a major boon for C++[Follow this hyperlink for a summary of this subject] programmers: it gives programmers a ready-made set of common classes, EHandler: no quick summary.
The Standard Template Library was created as the first library of generic algorithms and data structures, EHandler: no quick summary.
The c programming language is a low-level standardized programming language developed in the early 1970s by ken thompson and dennis ritchie for use...
www.absoluteastronomy.com /encyclopedia/s/st/standard_template_library.htm   (1816 words)

  
 Part 1: The Standard C++ Library   (Site not responding. Last check: )
Standard C++ not only incorporates all the Standard C libraries, with small additions and changes to support type safety, it also adds libraries of its own.
Included are templatized versions of operators !=, >, <=, and >= (to prevent redundant definitions), a pair template class with a tuple-making template function, a set of function objects for support of the STL, and storage allocation functions for use with the STL so you can easily modify the storage allocation mechanism.
The goal of this library is to allow the compiler implementer to take advantage of the architecture of the underlying machine when used for numerical operations.
www.camtp.uni-mb.si /books/Thinking-in-C++/Part1.html   (1106 words)

  
 C plus plus:Standard Template Library - GPWiki
The standard template library (stl) is a similar but distinct entity from the parts of it that got included in the C++ standard library.
In fact, the whole standard library was designed with performance in mind, and often things will compile to code that is just as efficient as a solution you write yourself.
Another very common (and somewhat related) reason not to use standard library functionality is that people refuse to use anything they did not program themselves in their programs.
gpwiki.org /index.php/Standard_Template_Library   (2545 words)

  
 Dinkum C++ Library   (Site not responding. Last check: )
Most of the information about the Standard C++ library can be found in the descriptions of the C++ library headers that declare or define library entities for the program.
The Standard C++ library works in conjunction with the 18 headers from the Standard C library, sometimes with small alterations.
Because the C++ Standard is still relatively new, not all implementations support all the features described here.
www.dinkumware.com /htm_cpl   (1040 words)

  
 Reap the benefits of the C++ Standard Template Library - Builder.com
This library of algorithms and containers uses templates to implement an efficient code base that is reusable and extensible.
STL is one of the two major components in the Standard C++ Library as defined by the C++ standard.
STL can be described basically by three traditional categories: containers, iterators, and algorithms.
builder.com.com /5100-6370_14-1050220.html   (631 words)

  
 Visual C++ 4.2 Standard Template Library Tutorial
Templates are very useful when implementing generic constructs such as vectors, stacks, lists, and queues that can be used with any arbitrary type.
The Standard Template Library generic algorithms have been implemented as function templates and the containers have been implemented as class t emplates.
STL algorithms are written in terms of iterator parameters, and STL containers provide iterators that can be plugged into the algorithms.
www.cs.fiu.edu /~weiss/Deltoid/msvc_stl.html   (6651 words)

  
 Views - a C++ Standard Template Library extension.
This template is used as the transform class by the subdomain template.
The is_subtype template implements a test on the subclass of the object referred to by a base class pointer using a safe downcast member function defined by the base class.
The subdomain template is a subclass of a view template in which the transformation function is implemented by the identity function.
www.zeta.org.au /~jon/STL/views/doc/views.html   (1201 words)

  
 Reference.com/Encyclopedia/Standard Template Library
The STL has been a major boon for C++ programmers: it gives programmers a ready-made set of common classes, 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.
This implementation, developed by Stepanov, Lee, and Musser during the standardization process, became the basis of all implementations offered by compiler and library vendors today.
Libraries implementing STL often include hashed variants: hash_set, hash_multiset, hash_map and hash_multimap, however this extension is not part of standard and are defined in various namespaces among implementations as a result.
www.reference.com /browse/wiki/Standard_Template_Library   (1118 words)

  
 Cprogramming.com STL Tutorial: Standard Template Library Introduction
The spirit of the Standard Template Library is the idea of generic programming - the implementation of algorithms or data structures without being dependent on the type of data being handled.
Moreover, the STL provides some nice features such as handling memory for you (no memory leaks), and it is also safer (no buffer overflow issues when using vectors or similar data structures).
The STL does so at very low cost to program performance, no more than any other templated class or function, and it's less likely that using a library function will lead to bugs than using your own code.
www.cprogramming.com /tutorial/stl/stlintro.html   (399 words)

  
 An Overview of The Standard Template Library
The first official proposal for templates appeared in the ARM [1] in 1990 and templates are now an official language construct as outlined in the April 1995 ANSI draft [2].
Templates are still a recent addition to C++ and many compiler vendors do not provide all of the features as suggested in the April 1995 ANSI draft.
STL algorithms are decoupled from the particular containers they operate on and are instead parameterized by iterator types.
www.acm.org /crossroads/xrds2-3/ovp.html   (2770 words)

  
 Visual C++ 4.2 Standard Template Library Tutorial
The Standard C++ Library provides powerful and flexible containers, programmable algorithms, and other components that are efficient and extensible.
Provides common type definitions used throughout the library such as characteristics of predefined types, functions supporting start and termination of C++ programs, support for dynamic memory allocation, support for dynamic type identification, support for exception processing, and other run-time support.
STL headers can be grouped into three major organizing concepts: containers, iterators, and algorithms.
www.cs.fiu.edu /~weiss/Deltoid/msvc_stl_2.html   (688 words)

  
 Dr. Dobb's | The SGI Standard Template Library | August 1, 1997
The STL was subsequently adopted as part of the C++ Standard Library.
Although the STL is often thought of as a library of container classes, that is not the most appropriate starting point for understanding it.
The STL defines other Iterator concepts in addition to Input Iterator: It is possible to express find solely in terms of the operations listed in the Input Iterator requirements, but other algorithms, such as sort, cannot be expressed in terms of such a minimal set of operations.
www.ddj.com /184410249   (6102 words)

  
 C++ Standard Template Library   (Site not responding. Last check: )
The Standard Template Library (STL) is a general-purpose C++ library of algorithms and data structures, originated by Alexander Stepanov and Meng Lee.
The STL is implemented by means of the C++ template mechanism, hence its name.
If you wish to use STL containers to hold objects of user-defined (class) types, as opposed to built-in types (e.g., int), please refer to the requirements for these objects.
www.msoe.edu /eecs/cese/resources/stl   (241 words)

  
 154. The C++ Standard Template Library
The C++ Standard Template Library is a large part of the C++ Standard Library.
Most STL algorithms accept a function object as a parameter, allowing the programmer to vary the way an algorithm works.
The third chapter discusses container adaptors, which are STL components that can be used to change the interface of another component.
www.objectinnovations.com /CourseOutlines/154.html   (398 words)

  
 Standard Template Library
Using STL and Standard Library interchangeably is a common mistake that should be avoided.
STL was a generic algorithms and data-structures library originally developed by AlexanderStepanov for Ada and then ported to CeePlusPlus before being accepted into the C++ Standard Library.
The STL uses C++ techniques such as template specialization to allow algorithms to be implemented more efficiently when more capable iterator types are used, but to fall back to more basic implementations for other iterator types.
c2.com /cgi/wiki?StandardTemplateLibrary   (438 words)

  
 Developing Programmers .com » Blog Archive » The Standard Template Library   (Site not responding. Last check: )
This means you should have a good familiarity with the standard libraries available for your languages of choice, and you should at least browse downloadable libraries from time to time so you know what’s “out there”.
There are other libraries that offer similar functionality to the STL, such as the Core module of Qt, which is my personal favorite.
Deques are usually implemented internally as a kind of tree of small array “chunks”, but as with all the container classes the standards only specify what kinds of operations should be fast, and leave library writers to decide the details of how they work.
www.developingprogrammers.com /index.php/2006/01/27/knowlibs-stl   (2646 words)

  
 Sample: The C++ Standard Template Library
This is a short primer on the STL or "Standard Template Library" for the programming language C++ as defined in the 1997 standard.
The STL is a collection C++ libraries that allow you to use several well known kinds of data structures with out having to program them.
To be able to use STL stacks in a file of C++ source code or a header file add
www.csci.csusb.edu /dick/samples/stl.html   (2242 words)

  
 The Standard Template Library   (Site not responding. Last check: )
STL is the C++ standard library, just as C had e.g., stdlib.h, math.h, and so forth.
STL provides generic (as opposed to genetic!) programming for some standard data structures and algorithms.
Components of STL can be used with one another, with native types, and with user-defined types.
www.contrib.andrew.cmu.edu /~roehrig/CompFin/Week5/templib.htm   (890 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.