Fermilab Computing Division

Inside std::Vector

Full Title: Inside std::Vector
Date & Time: 24 Oct 2003 at 09:00
Event Info: Speaker: Howard Hinnant

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.

Start Title Author(s) Topic(s) File(s) Length
09:00 Inside std::Vector - - Information Management
Talk/PDF
Talk/PPT
00:30

DocDB Home ]  [ Search ] [ Authors ] [ Events ] [ Topics ]

DocDB Version 8.7.23, contact Document Database Administrators
Execution time: 0 wallclock secs ( 0.19 usr + 0.03 sys = 0.22 CPU)