$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Misiu (misiu75_at_[hidden])
Date: 2007-03-12 10:07:09
Ovanes Markarian napisaÅ(a):
> [...]
>
> You could also skip the compare_functions implementation and use boost::lambda and placeholder
> library to write you code like this:
> std::find_if(fun_list.begin(), fun_list.end(), _1==fun);
When I tried this solution (really nice one) on MSVC 2003 I got this error:
d:\boost_ref_test\main.cpp(18): error C2666: 'boost::operator`=='' : 4
overloads have similar conversions
and I don't know what to do (or maybe how to show which operator== shell
be taken).
Best regards,
Bartek