It could be an interesting addition to sscanf to have it create an object when it matches a string.
Gmp.mpq myvar; sscanf("17","%q",Gmp.mpq,myvar); // == 1
/ Mirar
Previous text:
2004-02-07 15:55: Subject: sscanf and Gmp.mpq
Hm. Sounds like that might meet the Comstedt seal of approval. And whichever way I go, it would make sense to have that competence in the constructor anyway.
/ Johan Sundström (Achtung Liebe!)