
I'll try that fix out. Don't worry about the code not running. I just hacked down a long sequence of typedefs and declarations from a series of function calls. It doesn't "mean" anything in the form I sent you. I noticed I still left in a bunch of lines. Thanks, Joel -------- From: "Richard Peters" <r.a.peters@student.tue.nl> Date: Fri, 30 Apr 2004 12:42:03 +0200 To: <boost@lists.boost.org> Cc: <jdy@cs.brown.edu> Subj: Re: [Boost] Big integer library ----- Original Message ----- From: "Joel Young" <jdy@cs.brown.edu>
I have some questions. Will it be possible to say
1. typedef boost::rational< big_integer > big_rational.
Yes. In fact, the big_integer_example contains an example where boost::rational<big_integer> is used.
I have not had success using big_integer inside rational. I get concept check errors with the test code below.
<snip code> I managed to get the code to compile by adding 'explicit' to the constructor on line 132 of big_integer.hpp. However, when I tried to run your code under vc7.1 or gcc, the program requested massive amounts of memory and crashed with a write access violation, even when not using boost::rational<big_integer> but boost::rational<long long>. I'm not familiar with the multi_array library, so I cannot investigate it further. best regards, Richard Peters