USING std::randomize functio

In reply to dave_59:

hi dave,

i want to get the value of addr between start_addr and end_addr.
can’t i get it by using std::randomize()??
i declared automatic task variable addr1 following the syntax mentioned in sv lrm.
can you please help me with the appropriate syntax that would work for the same.

intent :
i just want to get a random address between start_addr and end_addr using std::randomize()

thanks,
samir