Random_sample_n is an overloaded name; there are actually two random_sample_n functions.Prototype
template
OutputIterator random_sample_n(ForwardIterator first, ForwardIterator last, OutputIterator out, Distance n)
template
OutputIterator random_sample_n(ForwardIterator first, ForwardIterator last, OutputIterator out, Distance n, RandomNumberGenerator& rand)