[boost] bind(ref(f), ...) support added to CVS
by Peter Dimov other posts by this author
Jun 8 2002 6:09PM messages near this date
Re: [boost] suggestion for iterator consistency predicates
|
Re: [boost] bind(ref(f), ...) support added to CVS
I've modified bind to support ref() as a first argument, to allow
noncopyable function objects. This is a bind-only change. At first I wanted
to add forwarding function call operators to ref(f), but this turned out to
be surprisingly hard. On a conformant compiler it's possible to achieve a
reasonable approximation, but given the current compiler landscape, I
decided to 'fix' bind instead. :-)
Let me know if the change breaks something.
--
Peter Dimov
http://www.mmltd.net/pdimov
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Peter Dimov
Thomas Witt
|