Jeremy Pack wrote:
I updated the Sandbox with the proposed fix [...] Please let me know if that fixes the issue for MSVC 7.1.
I definitely think so (but hopefully David Matz can confirm this!) FYI, if you don't have access to MSVC 7.1, you can still reproduce the compile error detected by David, by copy-n-pasting the following to www.dinkumware.com/exam (Select "VC++ v7.1/C++" from the combo box.) //////////////////////////////////////////////////////////// namespace boost { template<class T> class foo ; template<class T> void get ( foo<T>* ); } namespace boost{ namespace extensions{ class shared_library { public: template <class ReturnValue> ReturnValue (*get())() { return 0; } }; void bar(shared_library & lib) { void (*func)() = lib.get<void>(); } } } int main() { return 0; } //////////////////////////////////////////////////////////// I don't know if this is a "known issue" of MSVC 7.1, though... Kind regards, Niels