Function template find_ptr

| Home | Libraries | People | FAQ | More

## Function template find_ptr

boost::algorithm::find_ptr

## Synopsis

    // In header: <boost/algorithm/wrappers.hpp>

    template<typename Container, typename Key>
      Container::value_type::second_type * find_ptr(Container & c, Key k);

## Description

| Note
: This is a wrapper around Container::find, with a useful interface. Suggested by Olaf van der Spek

Parameters:

`c` | The container to be searched
`k` | The key value to search with

Returns: | a pointer to the value matching the key in the container, or NULL if the key does not exist in the container.