This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/44906] g++ is giving error: parse error in template argument list while using a c++ code.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jul 2010 17:46:37 -0000
- Subject: [Bug c++/44906] g++ is giving error: parse error in template argument list while using a c++ code.
- References: <bug-44906-19425@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gcc dot gnu dot org 2010-07-10 17:46 -------
The error message is not clear. The issue is that you are not using a constant
expression for a template arugment. Template arguments are either constant
expressions or types.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44906