testlib icon indicating copy to clipboard operation
testlib copied to clipboard

rnd.next(size_t)

Open GoogleCodeExporter opened this issue 9 years ago • 1 comments

size_t casts to different types on different systems (32-bit and 64-bit) when 
passed to rnd.next. This implies different behavior of generator when, for 
example, size of std::vector is passed to rand (see example generator in 
attach).

Original issue reported on code.google.com by Burunduk3 on 30 Dec 2013 at 11:56

Attachments:

GoogleCodeExporter avatar Jun 03 '15 09:06 GoogleCodeExporter

Duplicate of https://github.com/MikeMirzayanov/testlib/issues/82

stgatilov avatar Oct 27 '20 04:10 stgatilov