[libstdc++] New implementation of concept checking

Toon Moene toon@moene.indiv.nluug.nl
Tue Apr 3 16:21:00 GMT 2001

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)

More information about the Gcc-patches mailing list