title: Random generator from vector with probability distribution in C++
body: <p>I have same problem as here <a href="https://stackoverflow.com/questions/9956486/distributed-probability-random-number-generator">Distributed probability random number generator</a> but in c++. I know how to implement it but my question is - Is that functionaly build in current version of c++? </p>