------- Comment #15 from pcarlini at suse dot de  2006-04-20 09:56 -------
We can easily get a reference to the user defined operator, from the mainline
compiler with:

template<typename T>
int operator,(int i, T t) { return i; }

#include <vector>

int main()
{
  std::vector<int> v;

  std::fill_n(v.begin(), 0, 1);
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26974

Reply via email to