From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 851 invoked by alias); 23 Mar 2005 12:55:45 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 759 invoked by uid 48); 23 Mar 2005 12:55:34 -0000 Date: Wed, 23 Mar 2005 12:55:00 -0000 Message-ID: <20050323125534.747.qmail@sourceware.org> From: "dave at boost-consulting dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040410193158.14912.schnetter@aei.mpg.de> References: <20040410193158.14912.schnetter@aei.mpg.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/14912] Do not print default template arguments in error messages X-Bugzilla-Reason: CC X-SW-Source: 2005-03/txt/msg02709.txt.bz2 List-Id: ------- Additional Comments From dave at boost-consulting dot com 2005-03-23 12:55 ------- Doesn't sound right to me. I think you should either show vector or include A in the "with" clause of vector. I'm sort of inclined to the former; Don't forget that parameter names are not always so short. Another related issue is that "with" clauses are sometimes unhelpful, as in the case you cite. vector is much, much clearer. GCC ought to have a heuristic based on the lengths of the version with the "with" clause and the version with a full argument substitution, to decide whether to use "with" or just substitute the arguments in-line. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14912