Boost logo

Boost Users :

From: Tom Matelich (tmatelich_at_[hidden])
Date: 2002-08-09 17:08:06


I have a vector of

class Landmark
{
public:
        std::string const& getName() const;
...
};

I want to do a find_if for a name that I have.

something like
std::find_if(begin, end, boost::bind(std::equal<std::string>(???,
name_to_find)));

What do I put for the ??? ?

Thanks,
Tom

-----------------------------------------------------------------------
DISCLAIMER: Information contained in this message and/or
attachment(s) may contain confidential information of Zetec, Inc.
If you have received this transmission in error, please notify
the sender by return email.
-----------------------------------------------------------------------


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net