10 #ifndef ZYPP_BASE_Random_H
11 #define ZYPP_BASE_Random_H
33 inline unsigned random(
unsigned size_r )
38 inline unsigned random(
unsigned min_r,
unsigned size_r )
40 return min_r +
random( size_r );
std::string random_string(int length)
unsigned random()
Return a random number from [0,RAND_MAX[.