Hi,
I am totally new to boost and just wanted to ask a couple of simple
questions...
First, I compiled the boost libraries okay with msvc. I updated the include
path in my vc++ 6.0, and can include boost files via #include
. So far so good!
I wanted to try some things out, like boost's mersenne twister random number
generator. I first did this:
#include
And got no errors. Then I read there was a random.hpp for convenience so I
changed this to:
#include
And received as a reward complaints:
d:\dev\devproject\boost_1_30_0\boost\random\uniform_01.hpp(44) : error
C2275: 'std::numeric_limits<`template-parameter258'>::is_integer' : illegal
use of this type as an expression
d:\dev\devproject\boost_1_30_0\boost\random\uniform_01.hpp(95) : see
reference to class template instantiation
'boost::uniform_01' being compiled
There were 6 of these errors. What am I doing wrong?
Also, is there a way to include the boost libs in vc++ where I get the
autocompletion if I use boost:: ? It is very difficult to figure out how
the libs are supposed to be used (for me) by looking at example code or the
documentation. Autocompletion as if boost were part of my project would be
very useful.
Thanks,
B