O'Reilly logo

Extended STL, Volume 1: Collections and Iterators by Matthew Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 16. Essential Components

 

The will to win is nothing without the will to prepare.

 
 --Juma Ikanga
 

Programmers are people who are willing to work very hard to solve a problem once so they never have to deal with it again.

 
 --Sean Kelly

Introduction

This chapter describes five components from the STLSoft libraries that are used in the implementations of many of the STL extensions described throughout Parts II and III. They include one smart pointer that applies RAII to arbitrary types (stlsoft::scoped_handle), two components that deal with memory (stlsoft::auto_buffer and unixstl/winstl:: file_path_buffer), a traits class for discriminating and abstracting file system differences between different operating systems (unixstl/winstl::filesystem_traits ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required