Thread View: comp.std.c++
1 messages
1 total messages
Started by Kresimir Fresl - Grad.fak.
Thu, 04 Jan 1996 14:18
Question about `binary_search()'
Author: Kresimir Fresl - Grad.fak.
Date: Thu, 04 Jan 1996 14:18
Date: Thu, 04 Jan 1996 14:18
22 lines
1325 bytes
1325 bytes
Sorry. In my yesterday's posting: > I have a question concerning STL function `binary_search()'. > > Why is the return value of type `bool', and not (template) `ForwardIterator' > (function `find', for example, returns `InputIterator'). I can't imagine > situation where someone would like to know if something is in container, > but also the location of this something. last row should be: ``but __not__ also the location of this something.'' --- Kresimir Fresl Faculty of Civil Engineering Zagreb, Croatia email: Kresimir.Fresl@public.srce.hr --- [ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu. Contact address: std-c++-request@ncar.ucar.edu. The moderation policy is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads