17 Dec
2004
17 Dec
'04
7:42 p.m.
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
(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.)