------- Comment #2 from bangerth at dealii dot org 2007-10-10 01:07 ------- By the way, here is finally also an example that definitely should compile due to Koenig lookup: --------------------- #include <algorithm> #include <vector> #include <functional> void f () { std::vector<int> boundary_indicators; transform (boundary_indicators.begin(), boundary_indicators.end(), boundary_indicators.begin(), std::bind2nd (std::not_equal_to<int>(), -1)); } --------------------- Note that this currently yields
d/deal.II> ../../bin/gcc-mainline/bin/c++ -c x.cc -D_GLIBCXX_PARALLEL x.cc: In function 'void f()': x.cc:8: error: 'transform' was not declared in this scope -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33486