USING std::randomize functio

In reply to dave_59:

hi dave,
thank you for the solution.
i was using addr and addr1 as i was not sure if i can use the below code for randomization.

**

addr = std::randomize(addr) with { addr <= end_addr ; addr >= start_addr ;} ;

**

the solution provided by you is fine and that is working but i wanted to used std::randomize().
please let me know if i can use std::randomize() over here or it has some specific use??