
6 Jul
2005
6 Jul
'05
9:31 p.m.
OK I see this now. I was confused as I never noticed I did this. I have used static member functions a lot so that confused me also. Now I have a question. I noticed I used something like the following a few times (access.hpp) template<class U> static inline void smart_cast_reference(U& u) {} template <typename T> void foo(int c) { smart_cast_reference<int>(c); } I wouldn't expect that to cause any linking problems (note the "inline") which is perhaps why no other compilers complain. What SHOULD I be doing here? Robert Ramey