On 10 March 2011 08:30, Dennis Jones <djones@grassvalleysoftware.com> wrote:
I am using Boost 1.33.1 with Borland C++Builder 5 (an old compiler, to be
sure).

If you can upgrade to Boost 1.36 or later, the following should work (note: untested):

 bind(&TItemOverride::ChildAssyItemRecNo, _1) == ChildItemRecNo && bind(&TItemOverride::LinkItemRecNo, _1) == LinkItemRecNo

and you don't even need your OverrideMatches class.

Alternatively, that should also work using the lambda library (boost::lambda::bind instead of boost::bind), even under Boost 1.33.1.
--
 Nevin ":-)" Liber  <mailto:nevin@eviloverlord.com>  (847) 691-1404