How to randomize a variable without declaring it as randc

Hi all,i can randomize a variable without declaring it as rand using scope resolution.
std::randomize(variable);
here it will work only for rand.
my doubt is can we randomize a variable without declaring it as randc.

                                                                 thanks & regards.

In reply to mamathamanu:

No, there’s no syntax for that. And besides, randc only works as a member of a class object so it can be associated with the object’s random state (RNG). std::randomize() uses the thread’s RNG.