$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Graham Reitz (graham.cpp_at_[hidden])
Date: 2007-08-13 18:50:16
typedef boost::tuples::tuple<int,double> some_tuple;
std::vector<some_tuple> vec_of_some_tuples;
// ... stuff some data into the vector
// ... search for a specific int in the vector of some_tuple
What would be a good method, using an stl algorithm, to search through
the vector above to match only the int portion of the tuple (ignoring
the double)?
Thanks,
Graham