This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14912] Do not print default template arguments in error messages
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Mar 2005 22:57:45 -0000
- Subject: [Bug c++/14912] Do not print default template arguments in error messages
- References: <20040410193158.14912.schnetter@aei.mpg.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2005-03-26 22:57 -------
Giovanni, in your example in comment #27, you get this:
>Patched:
>test.cc: In member function 'void A<T, N, X>::foo() [with T = int]':
>test.cc:14: instantiated from here
>test.cc:9: error: 'class std::vector<int>' has no member named 'doesnotexist'
That's a good improvement, but do you think you could write the first line
with A<T> instead of A<T,N,X>? I find it confusing to see the second and
third template argument, but then no explanation as to their values...
Thanks
Wolfgang
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14912