------- 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: invalid use of constructor as a template > note: use db_reference<T, ID_TYPE>::db_reference instead of > db_reference<T, > ID_TYPE>::db_reference<T, ID_TYPE> to name the constructor in a qualified > name The error even says how to fix your code. In fact the note part was added so people don't confuse what the error message meant. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23826