[Bug c++/23826] invalid use of constructor as a template

2005-09-11 Thread steven at gcc dot gnu dot org
--- Additional Comments From steven at gcc dot gnu dot org 2005-09-11 23:46 --- For the reporter: what the compiler is telling you is that your code is not valid ISO C++. What it is not telling you is that G++ 3.3.4 did not really actually know what is valid C++ and what is not. In

[Bug c++/23826] invalid use of constructor as a template

2005-09-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-11 23:39 --- (In reply to comment #0) > The following code compiled in g++ 3.3.4, but does not compile in the latest > 4.0.x > Seems like a regression testing oversight. Nope, see below. > The error is > error: inval