This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libstdc++] New implementation of concept checking
- To: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Subject: Re: [libstdc++] New implementation of concept checking
- From: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Date: 04 Apr 2001 12:29:06 +0200
- Cc: Phil Edwards <pedwards at disaster dot jaj dot com>, gcc-patches at gcc dot gnu dot org
- Organization: CMLA, ENS Cachan -- CNRS UMR 8536 (France)
- References: <3ACA5880.2324816E@moene.indiv.nluug.nl>
Toon Moene <toon@moene.indiv.nluug.nl> writes:
| Gabriel Dos Reis wrote:
|
| > std::vector<int> v(9.0, 3.14);
|
| Well, I hope the error message helps C++ programmers.
:-)
| ... It took me two
| attempts to guess
|
| std::vector<double> v(9, 3.14);
|
| but I cannot say I really understood the 20+ line `explanation'.
Don't feel bad, even the greatest C++ experts are puzzled by
diagnostics about templates.
It is much easier to improve with signature matching support.
-- Gaby