Boost logo

Boost Users :

Subject: [Boost-users] random
From: Robert Ramey (ramey_at_[hidden])
Date: 2009-10-19 18:39:09


I'm interested in using the functionaliy from the random library.

I arm wrestled with the documentation and couldn't get my ap to compile.
of the first page of the documentation. I checked the test matrix and
the library is showing no errors. So I just tried to compile random_demo.cpp
mentioned in the forth line. I got a bunch of cryptic (to me) warnings.

I don't think this should happen.

They are just warnings so I suppose they are irrelevant to my own
problems but still it's annoying.

Robert Ramey

Compiling...
generate_test_data.c
c:\BoostRelease\boost\random\detail\pass_through_engine.hpp(49) : warning
C4512:
'boost::random::detail::pass_through_engine<UniformRandomNumberGenerator>' :
assignment operator could not be generated
with
[
UniformRandomNumberGenerator=boost::random::linear_congruential<boost::int32_t,48271,0,2147483647,399268537>
]
c:\BoostRelease\boost\random\variate_generator.hpp(92) : see reference to
class template instantiation
'boost::random::detail::pass_through_engine<UniformRandomNumberGenerator>'
being compiled
with
[
UniformRandomNumberGenerator=boost::random::linear_congruential<boost::int32_t,48271,0,2147483647,399268537>
]
c:\Projects\vario\test_windspeed\generate_test_data.c(32) : see reference to
class template instantiation 'boost::variate_generator<Engine,Distribution>'
being compiled
with
[
Engine=base_generator_type &,
Distribution=distribution_type
]


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