HP Integrity NonStop H-Series User Manual

Page 44

Advertising
background image

incremented. Using this object, the following call on the standard library function generate()
will initialize a vector of 20 elements with the values 1 through 20:

vector<int> aVec(20);
generate (aVec.begin(), aVec.end(), iotaGen(1));

Advertising
This manual is related to the following products: