//
archives

Archive for

Using Boost Lambda Expression – Performing Iterations on Vector Elements.

1. Introduction. 1.1 When performing iterations and transformations on STL containers, the Boost Lambda Expressions can be a useful alternative to using regular function class objects. 1.2 For those not familiar with the Boost Lambda Library (BLL), please refer to their library web site for full documentation. 1.3 From the next section onwards, 2 code … Continue reading

Storing C++ Objects in a STL Vector Part 3.

1. Introduction. 1.1 In part 2 of this series of articles, we discussed how to use a STL vector to store pointers to objects. 1.2 The purpose of this was to store items in a vector that are linked to base class objects and through this we create the opportunity to downcast base objects to … Continue reading