$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Alisdair Meredith (yg-boost-users_at_[hidden])
Date: 2003-06-10 11:45:53
Paul Thompson wrote:
> I thought about (among many others)
>
> for_each(filenames.begin(),
> filenames.end(),
> bind(&CDocumentAttachments::Execute, _2, _T("print"),
> false));
Looks good to me, but why have you changed _1 to _2? The parameter you
are passing in this place is the same (pointer to your objects as found
by dereferencing the iterator)
If you change _2 to _1 I think it should work.
-- AlisdairM