ADT Problem on gcd() in rational.hpp

8 May
2007
8 May
'07
2:54 a.m.
Hi, I found rational.hpp uses both gcd(x,y) and gcd<IntType>(x,y). It causes name clashes with the gcd() function in my namespace. Would be more error free by using gcd<IntType>(x,y) throughout? Anyone can advise? See http://groups.google.com/group/comp.lang.c++/browse_thread/thread/23e9bb515d... Regards, Shin Yee
6612
Age (days ago)
6612
Last active (days ago)
0 comments
1 participants
participants (1)
-
shinyee