From: Steven Kirk (steven.kirk_at_[hidden])
Date: 2001-11-30 09:10:18
Thanks Doug. I'd actually already fixed it for the moment by changing the
to a c-style cast which removes the const-ness without complaining.
> On Friday 30 November 2001 04:52 am, you wrote:
> > Error E2031
> >. hpp 360: Cannot cast from 'void (*)(int) const' to 'void (*)()' in
> > function assign_to<void (* const)(int) const>(void (*)(int)
> > const,detail::function::function_ptr_tag)
> Ah yes, the const free function bug strikes again :) I won't be getting
> around to updating Signals for at least a day or two, but if you want this
> work now you can:
> 1) clone the code in boost/signals/signal_template.hpp for the "connect"
> 2) Change the "const Slot&" argument type to "Slot*"
> 3) Stick this new version in a __BORLANDC__-wrapped section
> Info: http://www.boost.org Unsubscribe:
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk