Boost logo

Boost Users :

From: Jim Ingram (ingramj_at_[hidden])
Date: 2006-09-10 11:38:41


Daniel James <daniel_james <at> fmail.co.uk> writes:

> The problem is that 'variate_generator' stores a copy of the engine, not
> a reference.

Wow. You'd think that between the docs, the header files, and the example code,
I would have caught that. It does make a lot more sense to have the generator
and distribution encapsulated inside a variate_generator instead of maintaining
them seperately.

Thanks for pointing that out.

-- 
Jim

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net