$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [Unknown] Pedicate wrappers around std algorithms
From: Robert Jones (robertgbjones_at_[hidden])
Date: 2009-06-04 04:25:48
Hi All,
Does this kind of wrapper exist in Boost anywhere?
template < class Iterator, class T >
bool exists( Iterator begin, Iterator end, const T & value )
{
return find( begin, end, value ) != end;
}
Thanks,
- Rob.