
25 Aug
2004
25 Aug
'04
7:23 a.m.
Peter Dimov wrote:
Jonathan Wakely wrote:
On Tue, Aug 24, 2004 at 06:35:07PM +0300, Peter Dimov wrote:
Your example works for me on MSVC 7.1. What kinds of errors do you get, and on what compilers?
$ g++34 -I$HOME/include shared_ptr_fun.cc -c /home/jw/include/boost/shared_ptr.hpp: In constructor `boost::shared_ptr<T>::shared_ptr(Y*, D) [with Y = void ()(), D = null_deleter, T = void ()()]': shared_ptr_fun.cc:20: instantiated from here /home/jw/include/boost/shared_ptr.hpp:138: error: invalid conversion from `void (*)()' to `const volatile void*'
Fixed, thanks. :-)
Thanks, Peter! - Volodya