This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21413] bogus diagnostic from unidentified template
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 May 2005 14:07:47 -0000
- Subject: [Bug c++/21413] bogus diagnostic from unidentified template
- References: <20050506101655.21413.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-06 14:07 -------
Here is the reduced testcase:
template <typename TT> struct a
{
typedef typename TT::value_type value_type;
};
template<typename T> void foo(int);
template<typename C> typename a<C>::value_type foo(const C&);
int main() {
int s;
foo<float>(s);
}
But I cannot remember if the diagnostic is valid or not.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21413