This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Overloaded function called from template.
- From: "Lionel B" <lionelbuk at yahoo dot co dot uk>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 21 Jan 2005 11:06:52 -0000
- Subject: Re: Overloaded function called from template.
- References: <2e393d0805011921247c06c57a@mail.gmail.com>
"corey taylor" wrote in message
2e393d0805011921247c06c57a@mail.gmail.com">news:2e393d0805011921247c06c57a@mail.gmail.com...
> Hello,
>
> I am bringing this question from graphics3D development (
> http://www.graphics3d.com ).
>
> I did not want to flood the bug system with an unqualified report,
> so if you could help me clarify if this is an issue.
>
> This happens only with g++ 3.4
>
> Simply put, calling an overloaded function from a template will fail
> with no matching overload IF the overloaded function is declared after
> the template.
/snip/
> If I can provide better information, or if you think this could be
> filed as a bug-report, please reply.
Please post minimal (potentially) *compilable* code that exhibits your
problem.
Regards,
--
Lionel B