--- Comment #5 from pinskia at gcc dot gnu dot org 2006-02-28 13:46 ---
> Interesting. What happens if you remove the mem_fun call:
> ===
>generate_n(ostream_iterator(cout, "\n"), 100, rng->*ptr);
> ===
> my gcc still reports an internal compiler error.
Yes I can reproduce it the
--- 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 hap
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-02-28 13:30 ---
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::)())
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26496
--- Comment #2 from dwoovseesp at kriocoucke dot mailexpire dot com
2006-02-28 13:18 ---
Created an attachment (id=10938)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10938&action=view)
Source code after preprocessing.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26496
--- Comment #1 from dwoovseesp at kriocoucke dot mailexpire dot com
2006-02-28 13:17 ---
Created an attachment (id=10937)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10937&action=view)
Source code
This was compiled as follows:
g++ -v -save-temps smalltest.cc
Using built-in spe