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: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Subject: Re: [libstdc++] New implementation of concept checking
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Wed, 04 Apr 2001 01:10:56 +0200
- CC: Phil Edwards <pedwards at disaster dot jaj dot com>, gcc-patches at gcc dot gnu dot org
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'.
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)