Standard C++ Library User Guide and Tutorial
Manuals
Brands
HP Manuals
Server
HP NonStop G-Series
41
42
43
44
45
46
47
48
49
50
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));
1
...
...
42
43
44
45
46
...
...
250