![]() |
Home | Libraries | People | FAQ | More |
boost::algorithm::find_ptr
// In header: <boost/algorithm/wrappers.hpp> template<typename Container, typename Key> Container::value_type::second_type * find_ptr(Container & c, Key k);
![]() |
Note |
---|---|
: This is a wrapper around Container::find, with a useful interface. Suggested by Olaf van der Spek |
Parameters: |
|
||||
Returns: |
a pointer to the value matching the key in the container, or NULL if the key does not exist in the container. |