|
Boost Users : |
From: Niels Dekker - mail address until 2008-12-31 (nd_mail_address_valid_until_2008-12-31_at_[hidden])
Date: 2008-04-21 16:44:34
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net