This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/6508: compilation error when using "min< double >" as function parameter


Hi,

the bug can be reproduced with the following code snippet:

--------------------------snip here---------------------
template<typename T> void foo(T) { }
void foo() { }

template < typename Fn >
void bar(Fn f)
{
    f();
}

void quux()
{
    bar(foo);
}
--------------------------snip here---------------------

The bug is still present in gcc 3.1 20020506 (prerelease).

Greetings,
Volker Reichelt

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6508



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]