<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt">I am trying to migrate some C++ code based on STL vector<char> - based arrays to mpz_class. Is there an efficient way to construct an mpz_class object from a vector<char> without explicitly iterating over the vector? I could not find a constructor based on an STL vector, nor could I find a string constructor based on vector<char> (which I could then feed into mpz_class(const string&) ).<br><br>Thanks from a newbie.<br>Bob<font style="color: rgb(127, 0, 63);" size="3"><span style="font-style: italic;"></span></font></div><br>
</body></html>