Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-06-08 11:46:56


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_at_[hidden]
+---------------------------------------------------------------+


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk