This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19288] No more possible to have a template function that uses a nested class of a template class
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jan 2005 14:46:22 -0000
- Subject: [Bug c++/19288] No more possible to have a template function that uses a nested class of a template class
- References: <20050106084006.19288.jean-pierre.chevallet@imag.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2005-01-06 14:46 -------
Giving explicit template arguments for template operators works
the same way: write
x.operator<< <float> (abc)
instead of
x << abc
As for the evolution of C++: it isn't C++ but rather gcc that is evolving.
The standard for C++ was finished in 1998, and since then gcc has just tried
to be more standards conformant. gcc3.4 was a big step forward in this
respect.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19288