
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_congruentialboost::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_congruentialboost::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