Hi Jeremie, You should try to avoid converting to integers, but if you have to, simply (int)in_degree(...) will do the trick. Of course, that is not fullproof, and potentially will not work for an arbitrary graph class, but it should work for the BGL graph classes. If you want fullproof, I don't have a good answer. -Jeremy On Tue, 5 Aug 2003, [iso-8859-1] Jérémie Leguay wrote: njphot> Hi! njphot> njphot> I have a simple question: if I use the in_degree njphot> function I have in return a degree_size_type. njphot> How it is possible to convert it in integer? njphot> njphot> /Jérémie ---------------------------------------------------------------------- Jeremy Siek http://php.indiana.edu/~jsiek/ Ph.D. Student, Indiana Univ. B'ton email: jsiek@osl.iu.edu C++ Booster (http://www.boost.org) office phone: (812) 855-3608 ----------------------------------------------------------------------