Ticket #4073: function_template_for_c++0x.patch

File function_template_for_c++0x.patch, 863 bytes (added by Conrad Poelman <cpboost@…>, 12 years ago)

Patch file with the fix

  • function_template.hpp

     
    536536          // objects, so we invoke through mem_fn() but we retain the
    537537          // right target_type() values.
    538538          if (f) {
    539             this->assign_to(mem_fn(f), functor);
     539            this->assign_to(boost::mem_fn(f), functor);
    540540            return true;
    541541          } else {
    542542            return false;
     
    549549          // objects, so we invoke through mem_fn() but we retain the
    550550          // right target_type() values.
    551551          if (f) {
    552             this->assign_to_a(mem_fn(f), functor, a);
     552            this->assign_to_a(boost::mem_fn(f), functor, a);
    553553            return true;
    554554          } else {
    555555            return false;