------- Comment #4 from dwoovseesp at kriocoucke dot mailexpire dot com 2006-02-28 13:42 ------- (In reply to comment #3) > Hmm, in 4.0.3 I get: > t.cc: In function int main(): > t.cc:35: error: no matching function for call to mem_fun(double > (Distribution::)()) >
Interesting. What happens if you remove the mem_fun call: === generate_n(ostream_iterator<double>(cout, "\n"), 100, rng->*ptr); === my gcc still reports an internal compiler error. Matthias -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26496