[BGL] Problems in adjacency_list_io.hpp

Hi, I tried to use adjacency_list_io.hpp functions and I saw a small problem : 2 functions void getSubset ( no_property& p, const no_property& s ); and std::istream& operator >> ( std::istream& in, no_property& ) are not templated and are in a header file ! This prevents me to link my program since I include this header in different compilation units. I added "inline" before the two functions and the problem was solved. Fred

Hi Frédéric, I believe this bug was fixed a while back, but thanks for the report anyways! Cheers, Jeremy On Feb 7, 2004, at 7:59 AM, Frédéric Mayot wrote:
Hi,
I tried to use adjacency_list_io.hpp functions and I saw a small problem : 2 functions void getSubset ( no_property& p, const no_property& s ); and std::istream& operator >> ( std::istream& in, no_property& ) are not templated and are in a header file ! This prevents me to link my program since I include this header in different compilation units. I added "inline" before the two functions and the problem was solved.
Fred _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
_______________________________________________ Jeremy Siek <jsiek@osl.iu.edu> http://www.osl.iu.edu.edu/~jsiek Ph.D. Student, Indiana University Bloomington C++ Booster (http://www.boost.org) Office phone: (812) 856-1820 _______________________________________________
participants (2)
-
Frédéric Mayot
-
Jeremy Siek