[boost] Request:default constructible bind() result?
by David Abrahams other posts by this author
Jun 8 2002 4:46PM messages near this date
Re: [boost] bind(ref(f), ...) support added to CVS
|
Re: [boost] Request:default constructible bind() result?
I think we have a bug in the iterator_adaptor documentation. Specifically,
this example: www.boost.org/libs/utility/iterator_adaptors.htm#example puts
the result of calling std::bind1st inside an iterator_adaptor. One standard
library implementation tried to default-construct one of these
iterator_adaptors and we discovered that std::binder1st can't be
default-constructed. I'd like to replace that part of the example with the
result of calling boost::bind() instead. I think it would be relatively
harmless to allow the result type of bind() to be default-constructed,
because nobody's going to name it anyway.
Hmm, and what about lambda's bind(), also?
Thoughts?
Dave
+---------------------------------------------------------------+
David Abrahams
C++ Booster (http://www.boost.org) O__ ==
Pythonista (http://www.python.org) c/ /'_ ==
resume: http://users.rcn.com/abrahams/resume.html (*) \(*) ==
email: david.abrahams@[...].com
+---------------------------------------------------------------+
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
David Abrahams
Peter Dimov
Peter Dimov
|