$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [lambda] Defining a predicate for std::find_if if the key to a std::map is std::pair
From: Ryan McConnehey (mccorywork_at_[hidden])
Date: 2009-09-24 12:06:10
std::map::find expects to be passed the key. This means that I would have to pass myMap.find(std::make_pair(givenName, ???));Note that you can use std::map::find instead:
cMap::const_iterator itor = myMap.find(givenName);