Click here to Skip to main content
6,635,160 members and growing! (17,939 online)
Email Password   helpLost your password?
Article Category: All Topics MFC/C++ C# VB.NET ASP.NET SQL Architect Windows 7 Java LAMP Mobile CEO / Manager
Announcements
BullFrog Power
 
Search    
Add to IE Search

STL


Language
Platform
Technology
Audience
Skill Level
Topic
Clear All

Contents

 

STL - Beginners

top
Title / Updated Author Score  
Practical Guide to STL
Updated: 12 Apr 2004  
An article on practical learning of STL in the MS development environment.
C++, Windows, Visual Studio, STL, Dev
Jeff Bogan 4.04
An Introductory STL tutorial
Updated: 23 May 2000  
An STL starter that introduces the various collection types, strings, streams, iterators and methods of STL
VC6Win2K, Visual Studio, STL, Dev
David Hubbard 3.98
Using STL
Updated: 29 Dec 1999  
A brief introduction on using the Standard Template Library
VC6, Visual Studio, STL, Dev
Zoran M. Todorovic 3.67
STL 101 Part D - sorted associative containers, Set and Map
Updated: 23 Mar 2002  
Coverage of two more containers from the STL, namely set and map, and the functions provided for them.
VC6, VC7Win2K, WinXP, STL, Dev
Christian Graus 3.67
STL101 Part C - Functors
Updated: 1 Apr 2002  
This third article describes how to write function adaptors which allow customization of STL functions.
VC6, VC7Win2K, WinXP, Visual Studio, STL, Dev
Christian Graus 3.47
STL101 Part B - List and Iterators
Updated: 24 Feb 2002  
My second STL article covers std::list and discusses different iterator types
VC6, VC7Win2K, WinXP, Visual Studio, STL, Dev
Christian Graus 3.29
STL 101 Part A - Vector
Updated: 20 Feb 2002  
The first in a series of articles on STL, this one covers vector and some common algorithms
VC6, VC7, Windows, Visual Studio, STL, Dev
Christian Graus 3.06

STL - Collections and Iterators

top
Title / Updated Author Score  
An STL-like bidirectional map
Updated: 31 Oct 2006  
A template container implementing a bidirectional map that blends well with STL.
VC6, VC7, VC7.1, Windows, Visual Studio, STL, Dev
Joaquín M López Muñoz 4.87
An In-Depth Study of the STL Deque Container
Updated: 11 Nov 2003  
This article presents an in-depth analysis of std::deque and offers guidance as to when to prefer using it as opposed to std::vector, by taking into consideration memory allocation and container performance.
VC6, VC7, VC7.1Win2K, WinXP, Win2003, Visual Studio, STL, Dev
Nitron 4.85
Pretty Good Initialization Library
Updated: 25 Nov 2004  
Are you tired of filling data manually into STL containers? With the Initialization Library it gets a lot easier.
VC6Win2K, WinXP, Win2003, Visual Studio, STL, Dev
Thorsten Ottosen 4.84
An STL compliant sorted vector
Updated: 28 Nov 2002  
A template container which implements set/multiset functionality using a vector
C++, Windows, Visual Studio, STL, Dev
Martin Holzherr 4.60
Typed Iteration over a Composite
Updated: 13 Oct 2004  
Implementation of STL compliant type sensitive composite iterators.
VC7.1Win2K, WinXP, STL, VS.NET2003, Dev
Dave Handley 4.54
An Introduction to "Iterator Traits"
Updated: 18 May 2009  
This article is about how to use iterator traits for writing generic function for any kind of iterator seamlessly
C++, Linux
programmersmind 4.52
A Presentation of the STL Vector Container
Updated: 3 Nov 2003  
Presenting the std::vector with a discussion on STL algorithms and predicates.
VC6, VC7, VC7.1Win2K, WinXP, Win2003, MFC, STL, Dev
Nitron 4.52
Conditional Iteration over a Composite using Functors
Updated: 8 Oct 2004  
Using functors to conditionally return values during iteration over a composite.
VC7.1, VC8.0Win2K, WinXP, STL, VS.NET2003, Dev
Dave Handley 4.47
Checked Iterators
Updated: 24 Feb 2007  
Answers to some common questions on C++ checked iterators.
VC6, VC7, VC7.1, VC8.0, Windows, Visual Studio, STL, Dev
Nemanja Trifunovic 4.39
STL containers map, set, and list with fast array access
Updated: 5 Aug 2002  
Source code for STL compliant container classes that add fast indexing capability to existing container types
VC6Win2K, Visual Studio, STL, Dev
Ray Virzi 4.13
An STL like Tree Class
Updated: 28 May 2002  
A multi-node Tree class by using map and vector
VC6, VC7Win2K, WinXP, MFC, STL, Dev
Jack Hui 4.08
The Token Iterator
Updated: 3 May 2000  
Token Iterator provides an easy to use, familiar, and customizable way in which to go through the tokens contained in a string
VC6, Windows, Visual Studio, STL, Dev
John R. Bandela 4.08
Input and output iterators for sampling a data stream
Updated: 3 Nov 2003  
These iterators provide a simple way to sample or stretch a fixed size data set to fit in a larger or smaller container
VC7.1, Windows, Visual Studio, STL, Dev
Andy Brummer 3.88
Binary Sorting Into a std::list
Updated: 9 Dec 2002  
One technique for performing a binary insertion sort on a std::list
VC6, VC7Win2K, WinXP, PocketPC 2002, Visual Studio, STL, Dev
John Simmons / outlaw programmer 3.27
Polymorphic STL containers and iterators
Updated: 20 Aug 2004  
Template classes to build polymorphic data structures based on STL, enabling transparent use of STL algorithms.
C++, Windows, Visual Studio, STL, Dev
Philippe Guglielmetti 2.76

STL - General

top
Title / Updated Author Score  
The complete guide to STL: Part 3 - Deque
Updated: 21 Oct 2007  
An introduction to STL deque.
VC6, VC7, VC7.1, VC8.0Win2K, WinXP, Win2003, STL, VS.NET2003, VS2005, Dev
cristitomi 5.00
Reading UTF-8 with C++ streams - Unedited
Updated: 19 Jul 2009  
A locale codecvt facet from char to wchar_t
C++ (VC6, VC7, VC7.1, VC8.0), Windows, STL, Dev, Design
emilio_grv 4.94
single_pass_search: Generic sequence searching through single-pass iterators - Unedited
Updated: 11 Oct 2008  
This article presents a generic sequence searching template function, which is more versatile than std::search
C++ (VC6, VC7, VC7.1, VC8.0), C, Dev
Jim Xochellis 4.82
Upgrading an STL-based application to use Unicode.
Updated: 16 Jul 2003  
Problems that developers will face when upgrading an STL-based application to use Unicode and how to solve them.
VC6, VC7, VC7.1Win2K, WinXP, Win2003, Visual Studio, STL, Dev
Taka Muraoka 4.78
Smart Pointers to boost your code
Updated: 27 Sep 2004  
A beginner's introduction to the smart pointers provided by the boost library.
VC6, Windows, STL, Dev
peterchen 4.78
STL compliant container example
Updated: 9 Aug 2003  
A self explaning example on how to build a fully compliant STL container
VC6, VC7, VC7.1, Windows, STL, VS.NET2003, Dev
doxys 4.77
Implementing Semantic Actions in the Boost Spirit Parser Framework
Updated: 10 Oct 2004  
Using composites to implement a modular arithmetic calculator with the Boost Spirit parser framework.
VC7.1Win2K, WinXP, STL, VS.NET2003, Dev
Dave Handley 4.76
STL without warnings
Updated: 15 Nov 2001  
Using STL on warning level 4
VC6, Windows, Visual Studio, STL, Dev
Oskar Wieland 4.74
The complete guide to STL: Part 1 - Vector
Updated: 18 Oct 2007  
An introduction to the STL vector.
VC6Win2K, WinXP, Win2003, STL, Dev
cristitomi 4.74
find_first_of: A performance pitfall among the STL algorithms
Updated: 18 Jun 2007  
This article is discussing the performance problems found in the most notable find_first_of implementations and suggests useful improvements and workarounds.
VC7, VC7.1, VC8.0, Windows, STL, VS.NET2003, VS2005, Dev
Jim Xochellis 4.73
The complete guide to STL: Part 2 - List
Updated: 27 Oct 2007  
An introduction to the STL list.
VC6, VC7, VC7.1, VC8.0Win2K, WinXP, Win2003, STL, VS.NET2003, VS2005, Dev
cristitomi 4.73
Can search_n be more efficient?
Updated: 27 Mar 2007  
This article is discussing the efficiency of the most popular search_n implementations. Furthermore, it is introducing a new search_n specialization for random access iterators, which outruns by far the most commonly used implementations.
VC6, VC7Win2K, WinXP, Win2003, STL, Dev
Jim Xochellis 4.73
boost 2: shared_ptr wraps resource handles
Updated: 16 Nov 2004  
Using boost, we can write "almost perfect" wrappers for GDI and other resource handles, in a few lines of code.
VC6, Windows, STL, GDI, Dev
peterchen 4.70
An Introduction to the Boost Spirit Parser framework
Updated: 9 Oct 2004  
Basic introduction to producing parsers with the boost::spirit library.
VC7.1Win2K, WinXP, STL, VS.NET2003, Dev
Dave Handley 4.67
Expression-based callbacks
Updated: 12 Mar 2006  
An easy way to provide expression-based callbacks in STL containers.
VC7, Windows, Visual Studio, STL, Dev
Achilleas Margaritis 4.60
zipstream, bzip2stream: iostream wrappers for the zlib and bzip2 libraries
Updated: 2 Oct 2003  
STL compliant, stream-to-stream, zlib and bzip2 wrapper with wide char support.
VC6, VC7, VC7.1Win2K, WinXP, Win2003, STL, Dev
Jonathan de Halleux 4.58
Debug tracing in stream-like way
Updated: 24 May 2007  
Tracing in the debug window using std::ostream
VC8.0Win2K, WinXP, STL, VS.NET2003, Dev
emilio_grv 4.57
Easier Usage of the STL Algorithms with Pair Associative Containers (map, hash_map, etc.)
Updated: 17 Jan 2004  
Using custom function adaptors to clarify the usage of a function within an STL algorithm.
VC7.1, Windows, Visual Studio, STL, Dev
Jay Kint 4.54
Simple C++ class for XML writing
Updated: 4 Dec 2003  
Tiny template-based C++ class, which simplifies writing of XML data.
VC6, Windows, Visual Studio, STL, Dev
Oboltus 4.51
STL like template based coding with the MMX/SSE extension
Updated: 17 Nov 2006  
STL like template based coding with the MMX/SSE extension using OpenCV, vigra, and boost.
C++, Windows, Visual Studio, STL, Dev
Hirotaka Niitsuma 4.50
Some useful additions for the C++ standard library
Updated: 11 Apr 2000  
Defines some TCHAR compatible STL elements and gives you an std::ostream to send output to the debugger windows.
VC6, Visual Studio, STL, Dev
Daniel Lohmann 4.43
STL Function objects
Updated: 24 Sep 2001  
Using STL function objects in std::sort
VC6Win2K, Visual Studio, STL, Dev
Chris Losinger 4.42
ptr_vector - A Container For Pointers
Updated: 25 Oct 2006  
Convenient STL-compliant vector for pointers.
VC6, Windows, STL, Dev
Roland Pibinger 4.42
IoBind, a serializer code factory.
Updated: 29 Jun 2003  
IoBind proposes a new approach to object serialization.
VC7, VC7.1, Windows, STL, VS.NET2003, Dev
Jonathan de Halleux 4.39
Clone Smart Pointer (clone_ptr)
Updated: 23 Aug 2005  
A non-sharing smart pointer class that can be used with STL containers like std::map, vector, list, set, and deque. The smart pointer has assignment operator and greater than operator that call the target object's equal operator.
VC6, VC7, VC7.1, Windows, STL, VS.NET2003, Dev
Axter 4.33
iostream modifiers
Updated: 14 Jul 2002  
An exploration of extending the iostreams framework through stream modifiers
VC7, Windows, STL, Dev
Christian Graus 4.27
An Introduction to Boost
Updated: 6 Jul 2003  
An overview of the Boost library
VC7.1Win2K, WinXP, Win2003, Visual Studio, STL, Dev
Andrew Walker 4.20
A handy tokenizer function using the STL
Updated: 7 Mar 2006  
A handy and customizable tokenizer function that works with STL strings.
VC7.1, Windows, .NET 1.1, STL, VS.NET2003, Dev
Joerg Wiedenmann 4.19
How to use STL helper template function mem_fun in sophisticated algorithms
Updated: 24 Jun 2005  
The article gives a sample that demonstrates the use of mem_fun in some special cases.
VC7.1Win2K, STL, VS.NET2003, Dev
Zhaohui Xing (Joey) 4.19
Into the STL distance function
Updated: 21 Feb 2006  
Learning basic generic programming concepts from the STL distance function.
C++, Windows, Visual Studio, STL, Dev
ophir.setter 4.17
A Functor that deletes Pointers from STL Sequence Containers
Updated: 21 Mar 2004  
A policy based deletion functor that can be used with for_each function.
VC6, VC7, VC7.1, Windows, Visual Studio, STL, Dev
Nemanja Trifunovic 4.16
Applying STL to Legacy Arrays
Updated: 21 Mar 2004  
Explains how to apply STL algorithms to legacy arrays in a minimally invasive way
C++, Windows, Visual Studio, STL, Dev
Kevin McFarlane 4.12
Using the std::sort() Method
Updated: 27 Apr 2000  
An introduction to sorting using STL
VC6, MFC, STL, Dev
Paul Wolfensberger 4.06
OStringStream, or how to stop worrying and never use sprintf again
Updated: 20 Mar 2002  
A typesafe alternative to sprintf from the std library
VC6, VC7Win2K, WinXP, Visual Studio, STL, Dev
Christian Graus 3.97
typeof operator implementation
Updated: 6 Aug 2004  
A typeof operator for Visual C++ 7.1 compiler.
VC7.1, Windows, STL, VS.NET2003, Dev
Goran Mitrovic 3.91
Functional STL using Range Adaptors - Unedited
Updated: 16 Feb 2007  
Introduction to Functional STL Library using Boost.Range Adaptors.
VC7.1, VC8.0WinXP, STL, VS.NET2003, VS2005, Dev
mb2sync 3.75
Quick and convenient way to build STL strings.
Updated: 16 Dec 2002  
A quick and convenient way to build STL strings.
VC6, VC7Win2K, WinXP, PocketPC 2002, Visual Studio, STL, Dev
Taka Muraoka 3.74
Deriving your own stream from the iostreams framework
Updated: 24 Jul 2002  
An exploration of extending the iostreams framework through custom streams.
VC6, VC7Win2K, WinXP, STL, Dev
Christian Graus 3.68
Utilities for STL std::string - Unedited
Updated: 18 Jun 2008  
Utility functions for std::string
VC6, VC7, VC7.1, VC8.0Win2K, WinXP, Win2003, STL, VS.NET2003, VS2005, Dev
jamesfancy 3.67
How to build an in-memory state engine at runtime - Unedited
Updated: 28 Oct 2007  
C++ template for an efficient in-memory state engine
VC8.0, Windows, STL, VS2005, Dev, Design
osy 3.67
Declutter your loops ... Replacing for with for_each
Updated: 28 May 2005  
How to use the STL for_each algorithm to implement loops and why it's a good idea to do so.
VC7, VC7.1, VC8.0, Windows, Visual Studio, STL, Dev
Gabhan Berry 3.60
STL split string function - Unedited
Updated: 13 May 2007  
Split a string using a single character delimiter. Template function.
VC6, Windows, Visual Studio, STL, Dev
David 'dex' Schwartz 3.60
STL Serialization Library (STL-SL) - Unedited
Updated: 9 Oct 2006  
STL Serialization Library can serialize and load STL objects from a file. The serialization-file format can be customised to suit ones' needs. It's fast, easy and free !
VC6, VC7, VC7.1, Windows, Visual Studio, STL, Dev
Aniruddha Jahagirdar 3.44
linked_map
Updated: 21 Apr 2006  
A template to traverse STL maps in insertion order.
VC6, Windows, STL, Dev
Fernando Lagos 3.42
IOStream Inserters And Extractors
Updated: 16 Apr 2002  
Showing how to extend iostreams in order to stream custom types
VC6, VC7Win2K, WinXP, STL, Dev
Christian Graus 3.32
PDU lib under STL for SMS - Unedited
Updated: 21 May 2007  
This is a light weight lib for decoding and encoding GSM SMS pdu format
C++, Windows, Visual Studio, STL, Dev
Louis huang 3.22
A study of STL container, Iterator and Predicates - Unedited
Updated: 3 Dec 2006  
A study of STL container, Iterator and Predicates with the discussion of std::vector
VB, VC7.1, Windows, .NET 1.1, Visual Studio, MFC, STL, Dev
JPandya 2.86
A trim implementation for std::string
Updated: 3 Jul 2005  
This article discusses two implementations of the trim function, applied to std::strings.
VC7, VC7.1, VC8.0, Windows, Visual Studio, STL, Dev
Rodrigo C F Dias 2.77
A CStringT-liked STL string class - Unedited
Updated: 18 Apr 2006  
a string class which based on STL and can be used as the CStringT in MFC
VC6, Windows, Visual Studio, STL, Dev
Carl Ge 2.61
triplet - An STL template to support 3D Vectors
Updated: 24 Dec 2008  
Adding support to STL for 3D Vectors
C++, Windows, STL, Dev
Mick Leong 2.57
Winamp Control Utility via hotkeys - Unedited
Updated: 16 Jan 2007  
A small snippet which allows you to control your winamp via predefined hotkeys
C++, Windows, Visual Studio, STL, Dev
petersunde 2.41
Templated Burrows-Wheeler transformation
Updated: 28 May 2005  
An article on how to use the templated class for Burrows-Wheeler transformation.
VC7.1, Windows, STL, VS.NET2003, Dev
Rasmus Kaae 2.40
Understanding STL
Updated: 18 Dec 2003  
This article explains STL internals.
VC6, Linux, Win2K, Visual Studio, STL, Dev
Jais Joy 2.30
Using STL algorithm to simplify the code procedure
Updated: 26 Feb 2004  
The article gives the sample to demonstrate the advantage of using STL algorithm.
VC7.1Win2K, STL, VS.NET2003, Dev
Zhaohui Xing (Joey) 2.25
Using STL to build a simple DOM model and its scripting scheme
Updated: 17 Oct 2004  
Using STL to build a simple DOM model and its scripting scheme.
VC6, VC7, VC7.1, VC8.0, eVC 3.0, Windows, Win Mobile, Mobile, Visual Studio, STL, Dev
sanjit_rath 2.00
MRU Cache Using C++ STL
Updated: 14 Jun 2007  
Simple implementation of an MRU cache in C++ using STL.
C++, Windows, Visual Studio, STL, Dev
kornelious 2.00
Merge Sort and Selection Sort Algorithm For STL vectors in normal and template versions. - Unedited
Updated: 9 Jun 2006  
Merge Sort
VC6Win2K, WinXP, Win2003, Visual Studio, STL, Dev
mithun.nss 1.92
Least Recently Used - Unedited
Updated: 24 Nov 2007  
An implementation of Least Recently Used (LRU) Algorithm
VC8.0, Windows, STL, VS2005, Dev
Fekri Kassem 1.80
Be alert to memory leak when using STL to manage pointer only - Unedited
Updated: 29 Aug 2006  
for some novice of STL, like me, who might make some low level errors when trying to release memory
VC6, VC7, VC7.1Win2K, WinXP, Win2003, Visual Studio, MFC, STL, Dev
amonlee 1.68
String Utils - Unedited
Updated: 7 May 2006  
Simple utilities to manage strings. Specially devoted to VB backgrounders
C++, Windows, Visual Studio, STL, Dev
Ernesto Savoretti 1.66
Simple STL tree - Unedited
Updated: 1 Dec 2003  
Simple way to create tree structure using basic STL classes
VC6, VC7, VC7.1Win2K, WinXP, Win2003, Visual Studio, STL, Dev
Pavel Molchanov 1.35

STL - Memory Allocation

top
Title / Updated Author Score  
A Custom Block Allocator for Speeding Up VC++ STL
Updated: 30 Oct 2006  
A block allocator for use with STL containers that greatly improves speed in programs doing massive data insertions and extractions.
VC7, VC7.1, VC8.0, Windows, STL, VS2005, Dev
Joaquín M López Muñoz 4.35
auto_ptr and its usage - Unedited
Updated: 16 Feb 2008  
This article talks about the usage of STL's auto_ptr class
C++ (VC6, VC7, VC7.1, VC8.0), C++/CLI, C, Windows, STL, Dev, Design
Neeraj S 2.78

Last Updated 23 Nov 2009
Advertise | Privacy
Copyright © CodeProject, 1999-2009
All Rights Reserved. Terms of Use