c++-wrapper and the vector class

Johan ... d0nut at hotmail.com
Sat Mar 4 21:11:35 CET 2006


Hi!

I've got a question for you. When working with a vector or an array you 
adress the elements by writing  foo[x] right? Is it possible to somehow 
rewrite the vectorclass or arrayclass in c++ so that the x becomes a 
mpz_class instead of an Int?

Basically I want a really long array.

Cheers!

/Johan




More information about the gmp-discuss mailing list