[Bug c++/41614] Compilation error with member templates

2009-10-07 Thread zhnmju123 at gmx dot de
--- Comment #4 from zhnmju123 at gmx dot de 2009-10-07 12:30 --- This seems to be the member template analogon to cases where "typename" is needed for nested types. Thanks for the detailed explanation! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41614

[Bug c++/41614] Compilation error with member templates

2009-10-07 Thread redi at gcc dot gnu dot org
--- Comment #3 from redi at gcc dot gnu dot org 2009-10-07 09:48 --- (In reply to comment #2) > Thanks for the fast reply! I had tried compilation with VC++ 2008 and there it > worked, so I thought it would be valid. You should be wary of using VC++ to determine if code is valid, it's n

[Bug c++/41614] Compilation error with member templates

2009-10-07 Thread zhnmju123 at gmx dot de
--- Comment #2 from zhnmju123 at gmx dot de 2009-10-07 09:33 --- Thanks for the fast reply! I had tried compilation with VC++ 2008 and there it worked, so I thought it would be valid. Maybe a more expressive error message could help. In this shortened example the error message is ... wel

[Bug c++/41614] Compilation error with member templates

2009-10-07 Thread redi at gcc dot gnu dot org
--- Comment #1 from redi at gcc dot gnu dot org 2009-10-07 08:46 --- The code is not valid, you need to change the line with the error to: dbLeft.template detectFileChange<3>(); -- redi at gcc dot gnu dot org changed: What|Removed |Added -