|
Boost Users : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-12-17 14:42:32
Agoston Bejo wrote:
> [Platform: VC++7.1 (I always forget to mention this, only that's why
> I added it now.)]
>
> Actually what you have suggested is one of the two workarounds I came
> accross when googling the net.
> The other one was this (IMHO it would be slightly more elegant if it
> worked):
>
> cout << *find_if(ia, ia+5, boost::not1(
> make_adaptable<bool, int>(bind(equ, _1, 1)))) << endl;
>
> But it generated an error.
Compiles here (but the linker dies with an internal error ;-) ). Which
version of Boost are you using?
(Please post complete programs in the future. Thanks in advance.)
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net