Fermilab Computing Division

CS Document 356-v1

Inside std::Vector

Document #:
CS-doc-356-v1
Document type:
Presentation
Submitted by:
Unknown
Updated by:
Elfi Gabriel
Document Created:
09 Jul 2004, 09:30
Contents Revised:
09 Jul 2004, 09:30
Metadata Revised:
13 Nov 2006, 11:35
Viewable by:
  • Public document
Modifiable by:

Quick Links:
Latest Version

Abstract:
Arguably the simplest container in the C++ standard library, std::vector simply encapsulates a dynamic array of objects. Come find out what goes into an industrial-strength implementation of this simple concept. Along the way, learn about:

The importance of data member layout,
Tips for achieving exception safety,
Tips for reducing template code bloat,
Maximizing performance for vectors of simplistic types,
The application of restricted templates to vector, and
Just how move semantics plays a role.

Also to be discussed are techniques to instrument code for debugging and maintenance purposes: your C++ objects can help debug and test themselves with only a little extra effort. Our lowly std::vector is an excellent sandbox in which to explore many of these more advanced techniques since the vector logic itself is so simple, however, these techniques are applicable to C++ in general.

Speaker: Howard Hinnant, Metrowerks

Files in Document:
Authors:
Keywords:
Seminar
Associated with Events:
Inside std::Vector held on 24 Oct 2003
DocDB Home ]  [ Search ] [ Authors ] [ Events ] [ Topics ]

DocDB Version 8.8.9, contact Document Database Administrators