By convention, containers return a starting value in response to begin(), and a past-the-end value in response to end().
For example, to shuffle a vector of values:
random_shuffle (aVector.begin(), aVector.end(), randomInteger);